:root {
    --wca-bg: #fff;
    --wca-text: #1b1b1b;
    --wca-brown: #5e3023;
    --wca-muted: #8f96ab;
    --wca-line: #cbcbcb;
    --wca-accent: #f87b1b;
    --wca-accent-hover: #ef6f0f;
    --wca-dark: #1f1f1f;
}

body .wca-input,
body .wca-input:hover,
body .wca-input:focus,
body .wca-input:focus-visible,
body .wca-input:active {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    border-bottom: 2px solid var(--wca-line) !important;
}

body .wca-input:focus,
body .wca-input:focus-visible {
    border-bottom-color: #a8acb5 !important;
}
/* Force background on auth pages */
body.wca-auth-template {
    background: var(--wca-bg) !important;
}

body.wca-auth-template #page,
body.wca-auth-template .site-content,
body.wca-auth-template .content-area {
    background: var(--wca-bg) !important;
}

.wca-auth-page {
    background: var(--wca-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding:80px 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.wca-auth-container {
    width: 100%;
    max-width: 648px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.wca-auth-card {
    width: 100%;
    max-width: 648px;
}

.wca-auth-card.wca-wide {
    max-width: 760px;
}

.wca-auth-header {
    text-align: center;
    margin-bottom: 62px;
}

.wca-auth-header.wca-spaced {
    margin-bottom: 66px;
}

.wca-auth-title {
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.wca-auth-title.brown {
    color: var(--wca-brown);
  font-size: clamp(2.25rem, 4vw, 40px);
      font-family: Comfortaa;
      font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
}

.wca-auth-title.dark {
    color: var(--wca-dark);
    font-size: clamp(2.4rem, 4vw, 3.75rem);
    font-weight: 500;
}

.wca-auth-subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    color: #5e3023;
    font-family: Comfortaa;
    font-weight: 500;
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.33;
    text-align: center;
}

.wca-auth-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wca-auth-form.wca-compact {
    gap: 28px;
}

.wca-form-group {
    display: block;
    position:relative;
}

.wca-label {
    display: block;
    margin-bottom: 12px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #171717;
    margin-bottom:18px;
}

.wca-input-wrap {
    position: relative;
    display: block;
}

body .wca-input {
    width: 100%;
    position:relative;
    border: 0;
    border-bottom: 2px solid var(--wca-line);
    background: transparent;
    padding: 0 42px 10px 0;
  font-family: Comfortaa;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #6a7282;
    -webkit-appearance: none!important;
    outline: none!important;
    transition: border-color 0.2s ease;
}
body .wca-input:hover{
      outline: none!important;
}
body .wca-input::placeholder {
    color: var(--wca-muted);
    opacity: 1;
}

body .wca-input:focus {
    border-color: #a8acb5;
}

/* Password toggle icon styles */
.wca-input-icon {
    position: absolute;
    right: 0;
    bottom: 12px;
    color: #6A7282;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.wca-input-icon:hover {
    opacity: 1;
}

.wca-input-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.wca-input-icon svg path {
    transition: fill 0.3s ease;
}

.wca-input-icon:hover svg path {
    opacity: 0.8;
}

/* Visible state - when password is shown */
.wca-input-icon.wca-visible {
    opacity: 1;
}

/* Animation for icon toggle */
.wca-icon-animate {
    animation: wcaIconPulse 0.3s ease-in-out;
}

@keyframes wcaIconPulse {
    0% {
      
        opacity: 1;
    }
    50% {
      
        opacity: 0.5;
    }
    100% {
     
        opacity: 1;
    }
}

/* Hover effect */
.wca-input-icon:hover {
    opacity: 1;
}
.wca-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: -6px;
}

.wca-check-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
   font-family: Comfortaa;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.43;
  letter-spacing: normal;
  text-align: left;
  color: #6a7282;
    cursor: pointer;
}

.wca-check-row.align-start {
    align-items: center;
    /* line-height: 1.45; */
}

.wca-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 2px solid #cbcbcb;
    background: #fffdfd;
    flex: 0 0 auto;
    transition: all 0.2s ease;
    cursor: pointer;
}

.wca-checkbox:checked {
    border-color: var(--wca-accent);
    background: linear-gradient(135deg, var(--wca-accent), #ff9d4d);
    box-shadow: inset 0 0 0 4px #fffdfd;
}

.wca-btn {
    width: 100%;
    border: 0;
     padding: 16px 24px;
    border-radius: 16px;
    background: var(--wca-accent);
    color: white;
    font-family: Comfortaa;
  font-size: 16px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
    transition: background 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.wca-btn:hover {
    background: var(--wca-accent-hover);
      color: white;
}

.wca-btn:active {
    transform: translateY(1px);
}

.wca-link {
    border: 0;
    background: transparent;
    padding: 0;
    font-family: Comfortaa;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.43;
  letter-spacing: normal;
    color: var(--wca-accent);
    cursor: pointer;
    text-decoration: none;
}

.wca-link:hover {
    text-decoration: underline;
}

.wca-muted {
    color: var(--wca-muted);
}

.wca-footer {
    text-align: center;
    font-size: 1rem;
    margin-top: 70px;
}

.wca-footer.wca-spaced {
    margin-top: 72px;
}

.wca-back-link {
    display: inline-flex;
    align-items: center;
    font-family: Comfortaa;
  font-size: 16px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #ff9d00;
    text-decoration:none!important;
    cursor: pointer;
    padding: 0;
}

.wca-back-link:hover {
    text-decoration: underline;
}

.wca-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
}

.wca-grid-span-2 {
    grid-column: span 2;
}

.wca-notice {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.wca-notice-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.wca-notice-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.wca-notice-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* WooCommerce notices compatibility */
.woocommerce-notices-wrapper {
    width: 100%;
    margin: 0 auto 20px;
}

.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    max-width: 648px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-notices-wrapper .woocommerce-message {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.woocommerce-notices-wrapper .woocommerce-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.woocommerce-notices-wrapper .woocommerce-info {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
}

/* Override theme wrappers */
body.wca-auth-template .entry-content,
body.wca-auth-template .woocommerce,
body.wca-auth-template .site-main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

body.wca-auth-template .woocommerce-form-login,
body.wca-auth-template .woocommerce-form-register,
body.wca-auth-template .woocommerce-form-lost-password {
    display: none !important;
}

@media (max-width: 767px) {
    .wca-auth-page {
        padding: 36px 18px;
        align-items: flex-start;
    }

    .wca-auth-header,
    .wca-auth-header.wca-spaced {
        margin-bottom: 42px;
    }

    .wca-auth-form,
    .wca-auth-form.wca-compact {
        gap: 24px;
    }

    .wca-meta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .wca-form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wca-grid-span-2 {
        grid-column: auto;
    }

    .wca-footer,
    .wca-footer.wca-spaced {
        margin-top: 48px;
    }
}