/**
 * First Accounting Form Styles
 */

.firstaccounting-form-wrapper {
  width: 100%;
}

.firstaccounting-form .form-group {
  margin-bottom: 18px;
}

.firstaccounting-form label {
  display: block;
  margin-bottom: 5px;
  color: var(--Title-on-light, #0d0e10);
  font-size: 1rem;
  font-style: normal;
  font-weight: 600;
  line-height: 140%; /* 1.4rem */
}

.firstaccounting-form .required {
  color: #d63638;
}

.firstaccounting-form input[type="text"],
.firstaccounting-form input[type="email"],
.firstaccounting-form input[type="tel"] {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--divider, #f2f2f2);
  background: #f3f3f3;
  padding: 10px 12px;
  color: var(--Title-on-light, #0d0e10);
  transition: border-color 0.3s;
}

.firstaccounting-form input[type="text"]::placeholder,
.firstaccounting-form input[type="email"]::placeholder,
.firstaccounting-form input[type="tel"]::placeholder {
  color: #a0a0a0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 140%; /* 1.4rem */
}

.firstaccounting-form input:focus {
  outline: none;
  border-color: #172133;
  box-shadow: 0 0 0 1px #172133;
}

.firstaccounting-form .form-submit-btn {
  background-color: #e0ff53;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.firstaccounting-form .iti__country {
  display: flex;
}

.firstaccounting-form .btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  vertical-align: middle;
  margin-left: 8px;
}

.firstaccounting-form button[type="submit"] {
  border: none;
  outline: none;
  cursor: pointer;
  width: 100%;
}

.firstaccounting-form button[type="submit"]:disabled {
  cursor: wait;
  background-color: #f4ffc0;
}

.firstaccounting-form .form-submit-btn:hover {
  background-color: #135e96;
}

.firstaccounting-form .form-submit-btn:disabled {
  background-color: #999;
  cursor: not-allowed;
}

.firstaccounting-form .form-message {
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 4px;
  display: none;
}

.firstaccounting-form .form-message:not(:empty) {
  display: block;
}

.firstaccounting-form .form-message.success {
  background-color: #d7f0d7;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.firstaccounting-form .form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Terms and Conditions Notice */
.firstaccounting-form .form-terms-notice {
  margin-top: 16px;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
  text-align: center;
}

.firstaccounting-form .form-terms-notice a {
  color: #2271b1;
  text-decoration: underline;
}

.firstaccounting-form .form-terms-notice a:hover {
  color: #135e96;
}

.firstaccounting-form .form-terms-notice p {
  margin: 0;
}

/* intlTelInput specific adjustments */
.firstaccounting-form .iti {
  width: 100%;
}

.firstaccounting-form .iti__tel-input {
  width: 100%;
}

/* Cookie Notice Banner Styles */
.firstaccounting-cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(23, 33, 51, 0.98);
  color: #fff;
  padding: 20px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 99999;
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.firstaccounting-cookie-notice .cookie-notice-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.firstaccounting-cookie-notice .cookie-notice-text {
  flex: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  min-width: 250px;
}

.firstaccounting-cookie-notice .cookie-notice-text a {
  color: #e0ff53;
  text-decoration: underline;
  margin-left: 5px;
}

.firstaccounting-cookie-notice .cookie-notice-text a:hover {
  color: #fff;
}

.firstaccounting-cookie-notice .cookie-notice-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.firstaccounting-cookie-notice .cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.firstaccounting-cookie-notice .cookie-accept {
  background-color: #e0ff53;
  color: #172133;
}

.firstaccounting-cookie-notice .cookie-accept:hover {
  background-color: #d0ff00;
  transform: translateY(-2px);
}

.firstaccounting-cookie-notice .cookie-decline {
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.firstaccounting-cookie-notice .cookie-decline:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .firstaccounting-cookie-notice .cookie-notice-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .firstaccounting-cookie-notice .cookie-notice-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .firstaccounting-cookie-notice .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}
