/* Athena Plugin - Ultra Compact & Modern Stylish Design */

.athena-form {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 16px 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  direction: rtl;
  text-align: right;
  font-family: inherit;
}

/* Compact Title */
.athena-form h3 {
  margin: 0 0 14px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: #1D1D1B;
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(29, 29, 27, .15);
}

/* Field Wrapper */
.athena-field {
  position: relative;
  margin-bottom: 11px;
}

/* Inputs & Textarea - Modern & Clean */
.athena-field input,
.athena-field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  border: 1.5px solid rgba(29, 29, 27, .20);
  border-radius: 9px;
  background: rgba(255, 255, 255, .40);
  color: #1D1D1B;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  outline: none;
  line-height: 1.3;
}

.athena-field input:focus,
.athena-field textarea:focus {
  background: rgba(255, 255, 255, .70);
  border-color: #1D1D1B;
  box-shadow: 0 0 0 3px rgba(29, 29, 27, 0.08);
}

/* Textarea */
.athena-field textarea {
  min-height: 78px;
  resize: vertical;
  padding-top: 13px;
  line-height: 1.4;
}

/* Floating Label (modern & clean) */
.athena-field label {
  position: absolute;
  right: 14px;
  top: 12px;
  font-size: 13px;
  color: rgba(29, 29, 27, .60);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
  padding: 0 4px;
  z-index: 2;
  font-weight: 400;
}

/* Floating effect */
.athena-field input:focus + label,
.athena-field input:not(:placeholder-shown) + label,
.athena-field textarea:focus + label,
.athena-field textarea:not(:placeholder-shown) + label {
  top: -8px;
  right: 11px;
  font-size: 11.5px;
  background: transparent;
  color: #1D1D1B;
  padding: 0 5px;
  font-weight: 600;
}

/* Placeholder text */
.athena-field input::placeholder,
.athena-field textarea::placeholder {
  color: rgba(29, 29, 27, .45);
  opacity: 1;
}

/* Submit Button - Simple & Stylish */
.athena-form button {
  width: 100%;
  background: #1D1D1B;
  color: #fff;
  padding: 11.5px 18px;
  border: none;
  border-radius: 9px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 4px rgba(29, 29, 27, 0.12);
}

.athena-form button:hover {
  background: #006F5E;
  box-shadow: 0 2px 6px rgba(29, 29, 27, 0.18);
}

.athena-form button:active {
  transform: translateY(1px);
}

/* Messages - Compact & Clean */
.athena-success {
  width: 100%;
  max-width: 100%;
  margin: 12px 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .60);
  color: #1D1D1B;
  border: 1px solid rgba(29, 29, 27, .15);
  border-radius: 9px;
  text-align: center;
  font-size: 13.8px;
  font-weight: 500;
}

.athena-error {
  width: 100%;
  max-width: 100%;
  margin: 0 0 12px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .60);
  color: #991b1b;
  border: 1px solid rgba(29, 29, 27, .15);
  border-radius: 9px;
  font-size: 13.5px;
}

.athena-error ul {
  margin: 5px 0 0 16px;
  padding: 0;
  font-size: 13px;
}

.athena-error li {
  margin-bottom: 1px;
}

/* Error state */
.athena-field input.field-error,
.athena-field textarea.field-error {
  border-color: #ef4444 !important;
  background: rgba(255, 255, 255, .60);
}

/* Required asterisk */
.athena-field .required {
  color: #ef4444;
  margin-right: 1px;
}

/* 50/50 Field Row */
.athena-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) {
  .athena-row {
    grid-template-columns: 1fr;
  }
}

  .athena-form {
    margin: 0;
    padding: 12px 0 0;
  }
  
  .athena-field {
    margin-bottom: 9px;
  }
  
  .athena-field input,
  .athena-field textarea {
    padding: 10.5px 12px;
    font-size: 14px;
  }
}