
.ttw-form-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
}

/* Title */
.ttw-main-title {
  font-size: 32px;
  font-weight: 700;
  
  color: #111;
  text-align: center;
  margin: 0 0 8px;
}

.ttw-main-subtitle {
  color: #666;
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}

/* Card (section) */
.ttw-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  position: relative;
}

.ttw-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ttw-card-icon {
  font-size: 24px;
  color: #5d5e0d;
}

.ttw-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.ttw-card .ttw-add-position-top {
  margin-left: auto;
  background: #5d5e0d;
  color: white ;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  border-radius: 10px;
}

.ttw-card-desc {
  color: #555;
  font-size: 15px;
  margin: 0 0 20px;
}

/* Inputs & Fields */
.ttw-label {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  display: block;
}

.ttw-input-wrapper {
  position: relative;
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  background: #fdfdfd;
}

input:focus, select:focus, textarea:focus {
  border-color: #5d5e0d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(93,94,13,0.15);
}

input::placeholder {
  color: #aaa;
  font-weight: 400;
}

/* Unit */
.ttw-unit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #777;
  font-size: 15px;
}

/* Message */
.ttw-message {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
}

.ttw-message.small { background: #fff8e1; border: 1px solid #ffe58f; }
.ttw-message.large { background: rgba(93,94,13,0.08); border: 1px solid #5d5e0d; }

.ttw-message-icon {
  width: 36px;
  height: 36px;
  background: #5d5e0d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Species / Condition */
.ttw-species-buttons, .ttw-condition-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.ttw-species-btn, .ttw-condition-option {
  padding: 12px 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
}

.ttw-species-btn input, .ttw-condition-option input { display: none; }

.ttw-species-btn.active, .ttw-condition-option.active,
.ttw-species-btn:hover, .ttw-condition-option:hover {
  border-color: #5d5e0d;
  background: rgba(93,94,13,0.08);
  color: #5d5e0d;
}

/* Row */
.ttw-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.ttw-location-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 12px;
}

/* Unit buttons */
.ttw-unit-buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.ttw-unit-btn {
  padding: 10px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-size: 14px;
}

.ttw-unit-btn.ttw-active {
  background: #5d5e0d;
  color: white;
  border-color: #5d5e0d;
}

/* Actions */
.ttw-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.ttw-btn {
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.ttw-btn-cancel {
  background: #f3f4f6;
  color: #444;
}

.ttw-btn-save {
  background: #5d5e0d;
  color: white;
}

/* Info box */
.ttw-info-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 32px 0;
  font-size: 15px;
  color: #444;
}

/* Submit */
.ttw-submit-area {
  text-align: center;
  margin-top: 40px;
}

.ttw-btn-submit {
  background: #5d5e0d;
  color: white;
  padding: 16px 48px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.ttw-btn-submit:hover {
  background: #4a4b0a;
}

/* Position Card */
.ttw-position-card {
  display: flex;
  justify-content: space-between;
  background: #fdfdf9;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.ttw-position-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ttw-position-number {
  width: 28px;
  height: 28px;
  background: #5d5e0d;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

#ttw-positions-list .ttw-action-btn
{
  padding: 9px;
    color: white;
    border-radius: 10px;
}



#ttw-total-volume {
  font-size: 16px;
  color: #222;
  padding: 10px;
  border-radius: 10px;
}
#ttw-total-volume::placeholder {
  color: #999;
  font-size: 14px;
}
.ttw-submit-area .ttw-btn-submit
{
    color:white;
}
#ttw-country
{
    height: 45px;
    padding: 0px;
    padding-left: 13px;
}
#ttw-zip, #ttw-city
{
border: 1px solid #c0c0c0;
    height: 45px;
    border-radius: 10px;
}
#ttw-zip, #ttw-city
{
border: 1px solid #c0c0c0;
    height: 45px;
    border-radius: 10px;
}
#ttw-email, #ttw-company-name, #ttw-contact-person, #ttw-phone, #ttw-quality, #ttw-length, #ttw-quantity
{
   border: 1px solid #c0c0c0;
    height: 45px;
    border-radius: 10px; 
     padding: 0px;
    padding-left: 13px;
}
.ttw-species-buttons label
{
  font-weight: 500;
}
#ttw-product-form .ttw-unit-btn
{
height: 43px;
border-radius: 10px;
color: white;
}
.ttw-form-actions .ttw-btn-cancel, .ttw-form-actions .ttw-btn-save
{
    color: white;
    border-radius: 10px;
}

.ttw-condition-option
{
 display: block;
}

.ttw-condition-option .ttw-desc
{
   font-size: 14px;
    font-weight: 400;
    color: #4e4e4e;
}

/* Responsive */
@media (max-width: 768px) {
  .ttw-row, .ttw-location-row { grid-template-columns: 1fr; gap: 20px; }
}
