/* Alert Messages */
.alert {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.alert--error {
    background-color: #FEF2F2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.alert--success {
    background-color: #F0FDF4;
    color: #16A34A;
    border: 1px solid #BBF7D0;
}

.alert svg {
    flex-shrink: 0;
}

/* Auth Pages */
.auth__container {
    padding: var(--spacing-3xl) 0;
    min-height: calc(100vh - 200px);
    position: relative;
}

.auth__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg__icon {
    position: absolute;
    width: 160px;
    height: 160px;
    opacity: 0.08;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.06));
}

/* SVG data URIs for cart and leaf icons */
.bg__icon--cart { top: 8%; left: 6%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='1.5'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E"); }
.bg__icon--cart2 { bottom: 10%; right: 8%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='1.5'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E"); width: 120px; height: 120px; }
.bg__icon--leaf { top: 18%; right: 14%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='1.5'%3E%3Cpath d='M2 22s4-10 12-10 8 10 8 10-4 0-8-4-12 4-12 4z'/%3E%3C/svg%3E"); }
.bg__icon--leaf2 { bottom: 14%; left: 18%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128' viewBox='0 0 24 24' fill='none' stroke='%238B4513' stroke-width='1.5'%3E%3Cpath d='M2 22s4-10 12-10 8 10 8 10-4 0-8-4-12 4-12 4z'/%3E%3C/svg%3E"); width: 110px; height: 110px; }

.auth__card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.auth__title {
    margin: 0 0 var(--spacing-xl) 0;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #333;
    text-align: center;
}

.auth__subtitle {
    text-align: center;
    color: #777;
    margin: -8px 0 var(--spacing-xl) 0;
}

.auth__logo-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg) auto;
    box-shadow: 0 8px 20px rgba(139, 69, 19, 0.25);
}

.auth__logo-badge img {
    height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.auth__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.input__group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border: 1px solid #E5E5E5;
    border-radius: 10px;
    padding: 0 var(--spacing-md);
    background: #FAFAFA;
    outline: 2px solid transparent;
    transition: outline-color var(--transition-fast), background-color var(--transition-fast);
}

.input__icon {
    color: #8B4513;
    display: inline-flex;
}

.input__group .field__input {
    border: 0 !important;
    outline: 0 !important;
    background: transparent;
    padding: var(--spacing-md) 0;
    border-radius: 0;
    width: 100%;
    box-shadow: none !important;
}

.input__group .field__textarea {
    border: 0 !important;
    outline: 0 !important;
    background: transparent;
    padding: var(--spacing-md) 0;
    border-radius: 0;
    width: 100%;
    box-shadow: none !important;
}

.input__group .field__input:focus,
.input__group .field__textarea:focus {
    box-shadow: none !important;
    outline: 0 !important;
}

.input__group:focus-within {
    outline-color: rgba(139,69,19,0.25);
    background: #FFFDF8;
}

.input__addon.input__toggle {
    margin-left: auto;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-sm);
}

.btn--primary.auth__submit {
    background-color: #8B4513;
    color: var(--white);
    border: none;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(139, 69, 19, 0.25);
    padding: var(--spacing-lg) var(--spacing-xl);
    min-height: 52px;
    font-size: var(--font-size-base);
    font-weight: 700;
}

.btn--primary.auth__submit:hover {
    background-color: #7A3A0F;
    transform: translateY(-1px);
}

.auth__card .btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.auth__submit {
    width: 100%;
}

.auth__switch {
    margin-top: var(--spacing-lg);
    text-align: center;
    color: #666;
}

.auth__switch a {
    color: #8B4513;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 480px) {
    .auth__card {
        padding: var(--spacing-xl);
    }
    .bg__icon { opacity: 0.06; width: 120px; height: 120px; }
}


