

/* GRID INPUTS */
.tc-fields {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.tc-field {
  display: flex;
  flex-direction: column;
}

.tc-field label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
  font-weight: bold;
}

/* UNIQUE INPUT STYLE */
.tc-input {
  padding: 11px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
  transition: 0.3s;
}

.tc-input:focus {
  border-color: #0a3d62;
  box-shadow: 0 0 5px rgba(10,61,98,0.4);
  outline: none;
}

/* BUTTONS */
.tc-btns {
  padding: 0 20px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.tc-btn {
  padding: 12px 22px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(135deg, #0a3d62, #07517d);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.tc-btn:hover {
  background: linear-gradient(135deg, #07517d, #0a3d62);
}

/* OUTPUT */
.tc-output {
  display: none;
  padding: 20px;
  border-top: 1px solid #ddd;
  background: #fafafa;
  white-space: pre-wrap;
  font-size: 14px;
}

/* RESPONSIVE FIX */
@media (max-width: 768px) {

  body {
    padding: 20px;
  }

  .tc-fields {
    grid-template-columns: 1fr; /* ✅ 2 se 1 column */
  }

  .tc-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .tc-btn {
    width: 100%;
    text-align: center;
  }

  .tc-head h1 {
    font-size: 20px;
  }

  .tc-head p {
    font-size: 14px;
  }

  .tc-output {
    font-size: 13px;
    line-height: 1.6;
  }
}