/**
 * =============================================================================
 * STOCKBOXX - STRONA FORGOT PASSWORD (/customer/account/forgotpassword)
 * =============================================================================
 * Styl wzorowany na sb-catalog-hero (centrowany formularz na zielonym tle)
 * =============================================================================
 */

/* =============================================================================
   HERO SECTION
   ============================================================================= */
.sb-forgot-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--sb-green-main);
    padding: 80px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .sb-forgot-hero {
        padding: 48px 0 64px;
        min-height: auto;
    }
}

/* Decorative circle */
.sb-forgot-hero__circle {
    display: none;
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
}

@media (min-width: 768px) {
    .sb-forgot-hero__circle {
        display: block;
    }
}

.sb-forgot-hero__inner {
    width: 100%;
    max-width: var(--sb-container-max);
    margin: 0 auto;
    padding: 0 var(--sb-container-padding);
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Eyebrow */
.sb-forgot-hero__eyebrow {
    font-size: 12px;
    line-height: 1.33;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sb-orange);
    margin-bottom: 24px;
}

/* Title */
.sb-forgot-hero__title {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -1px;
    margin: 0 !important;
}

.sb-forgot-hero__title-white {
    color: #FFFFFF !important;
}

/* Subtitle */
.sb-forgot-hero__subtitle {
    margin-top: 24px;
    max-width: 480px;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

/* Status pills */
.sb-forgot-hero__pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

@media (max-width: 640px) {
    .sb-forgot-hero__pills {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

.sb-forgot-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.33;
    color: #FFFFFF;
}

.sb-forgot-hero__pill-icon {
    display: inline-flex;
}

.sb-forgot-hero__pill-icon svg {
    width: 14px;
    height: 14px;
}

/* =============================================================================
   FORM CARD
   ============================================================================= */
.sb-forgot-hero__card {
    width: 100%;
    max-width: 440px;
    margin-top: 40px;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    animation: sb-fade-in 0.4s ease;
}

@media (min-width: 640px) {
    .sb-forgot-hero__card {
        padding: 40px;
    }
}

/* =============================================================================
   FORM STYLES
   ============================================================================= */
.sb-forgot-form__field {
    margin-bottom: 20px;
}

.sb-forgot-form__label {
    display: block;
    font-size: 14px;
    line-height: 1.43;
    font-weight: 500;
    color: #333333;
    margin-bottom: 6px;
    text-align: left;
}

.sb-forgot-form__required {
    color: #e02b27;
    margin-left: 2px;
}

.sb-forgot-form__input {
    width: 100%;
    height: 48px;
    padding: 12px 16px;
    font-family: var(--sb-font-family);
    font-size: 15px;
    color: var(--sb-card-foreground);
    background-color: #FCFAF8;
    border: 1px solid var(--sb-gray-light);
    border-radius: 10px;
    transition: border-color var(--sb-transition), box-shadow var(--sb-transition);
}

.sb-forgot-form__input::placeholder {
    color: #BBBBBB;
}

.sb-forgot-form__input:focus {
    outline: none;
    border-color: var(--sb-orange);
    box-shadow: 0 0 0 3px rgba(240, 102, 10, 0.12);
}

/* Validation error */
.sb-forgot-form__input.mage-error {
    border-color: #e02b27 !important;
}

.sb-forgot-form .mage-error[generated] {
    font-size: 12px;
    color: #e02b27;
    margin-top: 4px;
    text-align: left;
}

/* Submit button */
.sb-forgot-form__submit {
    border-radius: 10px !important;
    margin-top: 8px;
}

/* Disclaimer */
.sb-forgot-hero__disclaimer {
    font-size: 12px;
    line-height: 1.33;
    color: #888888;
    margin-top: 16px;
    text-align: center;
}

/* =============================================================================
   BACK LINK
   ============================================================================= */
.sb-forgot-hero__back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-family: var(--sb-font-family);
    font-size: 14px;
    line-height: 1.43;
    font-weight: 600;
    color: #FFFFFF !important;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--sb-transition);
}

.sb-forgot-hero__back-link:visited,
.sb-forgot-hero__back-link:focus,
.sb-forgot-hero__back-link:active {
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.sb-forgot-hero__back-link:hover {
    color: var(--sb-orange) !important;
    text-decoration: none !important;
}

.sb-forgot-hero__back-icon {
    display: inline-flex;
    transition: transform var(--sb-transition);
}

.sb-forgot-hero__back-link:hover .sb-forgot-hero__back-icon {
    transform: translateX(-4px);
}

.sb-forgot-hero__back-icon svg {
    width: 16px;
    height: 16px;
}

/* =============================================================================
   UTILITY
   ============================================================================= */
.sb-text-orange {
    color: var(--sb-orange) !important;
}

/* =============================================================================
   ANIMATION
   ============================================================================= */
@keyframes sb-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
