@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.recoop-bg {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F3F3;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
}

body.admin-bar .recoop-bg {
    min-height: calc(100vh - 32px);
}

.recoop-bg::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 57%;
    height: 108px;
    transform: translateY(-50%);
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(76, 140, 87, 0.28) 0px,
            rgba(76, 140, 87, 0.28) 2px,
            transparent 2px,
            transparent 11px
        );
    z-index: 1;
}

.recoop-container {
    position: relative;
    z-index: 2;
    width: 1042px;
    max-width: 100%;
    min-height: 647px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.10),
        0 28px 70px rgba(0, 0, 0, 0.12);
}

.recoop-left {
    width: 331px;
    flex: 0 0 331px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 56%, rgba(175, 255, 99, 0.28), transparent 24%),
        radial-gradient(circle at 70% 24%, rgba(55, 170, 95, 0.38), transparent 36%),
        radial-gradient(circle at 25% 20%, rgba(24, 111, 70, 0.42), transparent 42%),
        linear-gradient(160deg, #082b1d 0%, #051b12 45%, #020b07 100%);
}

.bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image::before {
    content: "";
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(circle at 50% 68%, rgba(255, 224, 73, 0.26), transparent 20%),
        radial-gradient(circle at 38% 34%, rgba(126, 255, 157, 0.16), transparent 22%),
        radial-gradient(circle at 72% 38%, rgba(103, 255, 159, 0.18), transparent 28%);
    filter: blur(14px);
    opacity: 0.9;
    z-index: 0;
}

.bg-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(2, 18, 11, 0.08) 0%,
            rgba(2, 18, 11, 0.16) 46%,
            rgba(2, 13, 8, 0.78) 100%
        );
    z-index: 2;
    pointer-events: none;
}

.firefly-image {
    position: relative;
    z-index: 1;
    width: 118%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateY(-25px);
    filter:
        drop-shadow(0 24px 34px rgba(0, 0, 0, 0.55))
        drop-shadow(0 0 24px rgba(177, 255, 77, 0.20));
}

.recoop-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(182, 255, 195, 0.14), transparent 2px),
        radial-gradient(circle at 84% 26%, rgba(223, 255, 135, 0.18), transparent 2px),
        radial-gradient(circle at 76% 62%, rgba(188, 255, 164, 0.14), transparent 2px),
        radial-gradient(circle at 26% 76%, rgba(226, 255, 112, 0.16), transparent 2px);
    z-index: 1;
    pointer-events: none;
}

.recoop-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(5, 27, 17, 0.04) 0%,
            rgba(6, 43, 25, 0.14) 36%,
            rgba(5, 26, 16, 0.58) 72%,
            rgba(2, 12, 7, 0.94) 100%
        );
    z-index: 1;
    pointer-events: none;
}

.recoop-logo-link {
    position: absolute;
    top: 28px;
    left: 24px;
    padding: 8px 16px;
    min-width: 116px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.25),
        0 8px 24px rgba(0,0,0,0.28);
    cursor: pointer;
    z-index: 3;
    transition: all 0.25s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.recoop-logo-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 65%;
    height: 12px;
    transform: translateX(-50%);
    background: rgba(190,255,210,0.28);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.recoop-logo-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.32);
}

.recoop-logo-link:hover::after {
    opacity: 1;
}

.recoop-logo-link:active {
    transform: scale(0.97);
}

.recoop-logo {
    width: 100px;
    height: auto;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.recoop-overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 3;
    color: #FFFFFF;
}

.quote {
    margin: 0 0 26px;
    max-width: 256px;
    font-size: 15px;
    line-height: 1.48;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #FFFFFF;
}

.author {
    margin: 0 0 4px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    color: #FFFFFF;
}

.role {
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.80);
}

.recoop-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 48px;
    background: #FBFBFB;
}

.form-box {
    width: 418px;
    max-width: 100%;
}

.form-box h2 {
    margin: 0 0 8px;
    text-align: center;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1E1E1E;
}

.subtitle {
    margin: 0 0 32px;
    text-align: center;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    color: #A5A5A5;
}

.recoop-form {
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 2;
    font-size: 11px;
    line-height: 1;
    font-weight: 500;
    color: #B8B8B8;
    pointer-events: none;
}

.recoop-form input[type="text"],
.recoop-form input[type="password"] {
    width: 100%;
    height: 56px;
    padding: 24px 48px 10px 16px;
    border-radius: 12px;
    border: 1px solid #E6E6E6;
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(18, 18, 18, 0.04);
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #6F6F6F;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.recoop-form input::placeholder {
    color: #8F8F8F;
    opacity: 1;
}

.recoop-form input:focus {
    border-color: #73AF72;
    box-shadow: 0 0 0 3px rgba(115, 175, 114, 0.12);
}

.password-group {
    margin-bottom: 18px;
}

.eye-toggle {
    position: absolute;
    right: 14px;
    top: 47%;
    transform: translateY(-20%);
    width: 18px;
    height: 18px;
    cursor: pointer;
    z-index: 3;
}

.eye-toggle svg {
    position: absolute;
    inset: 0;
    width: 18px;
    height: 18px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#eyeClosed {
    opacity: 0;
}

.eye-toggle.active #eyeOpen {
    opacity: 0;
    transform: scale(0.95);
}

.eye-toggle.active #eyeClosed {
    opacity: 1;
    transform: scale(0.95);
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 34px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
    color: #A8A8A8;
}

.switch {
    position: relative;
    width: 36px;
    height: 20px;
    flex: 0 0 36px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: #E6E6E6;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
}

.switch input:checked + .slider {
    background: #4C8C57;
}

.switch input:checked + .slider::before {
    transform: translateX(16px);
}

.recoop-form button {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #7AB66F 0%, #6FAE65 45%, #5C9F5F 100%);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.recoop-form button:hover {
    opacity: 0.96;
    transform: translateY(-1px);
}

.recoop-form button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.error {
    margin: 0 0 14px;
    text-align: center;
    font-size: 13px;
    color: #D94444;
}

.elementor-widget-shortcode .recoop-bg,
.elementor-widget-shortcode .recoop-container,
.elementor-widget-shortcode .recoop-left,
.elementor-widget-shortcode .recoop-right,
.elementor-widget-shortcode .form-box {
    box-sizing: border-box;
}

@media (max-width: 1100px) {
    .recoop-container {
        width: 960px;
    }

    .recoop-left {
        width: 300px;
        flex: 0 0 300px;
    }

    .firefly-image {
        width: 124%;
    }
}

@media (max-width: 900px) {
    .recoop-bg {
        padding: 32px 16px;
    }

    .recoop-bg::before {
        display: none;
    }

    .recoop-container {
        flex-direction: column;
        min-height: auto;
    }

    .recoop-left {
        width: 100%;
        flex: unset;
        min-height: 430px;
    }

    .firefly-image {
        width: 72%;
        max-width: 390px;
        transform: translateY(22px);
    }

    .recoop-right {
        padding: 36px 24px 42px;
    }

    .form-box {
        width: 100%;
        max-width: 418px;
    }
}

@media (max-width: 480px) {
    .recoop-left {
        min-height: 380px;
    }

    .firefly-image {
        width: 92%;
        transform: translateY(28px);
    }

    .recoop-logo-link {
        top: 22px;
        left: 20px;
        min-width: 104px;
        height: 38px;
        padding: 7px 13px;
    }

    .recoop-logo {
        width: 88px;
    }

    .recoop-overlay {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .quote {
        max-width: 240px;
        font-size: 14px;
    }

    .recoop-right {
        padding: 28px 18px 34px;
    }

    .form-box h2 {
        font-size: 24px;
    }

    .remember-row {
        font-size: 13px;
        gap: 12px;
    }
}