/*
|---------------------------------------------------
| HERO SECTION
|---------------------------------------------------
*/

.reecycle-hero {

    width: 100%;

    height: 100vh;

    min-height: 760px;

    background-image:
        url('/wp-content/plugins/reecycle-core/assets/images/hero-desktop.png');

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    position: relative;
}


/*
|---------------------------------------------------
| MOBILE HERO
|---------------------------------------------------
*/

@media (max-width: 768px) {

    .reecycle-hero {

        height: auto;

        min-height: 100vh;

        background-image:
            url('/wp-content/plugins/reecycle-core/assets/images/hero-mobile.png');

        background-size: cover;

        background-position: center top;

        background-repeat: no-repeat;
    }
}


/*
|---------------------------------------------------
| GENERATEPRESS CLEANUP
|---------------------------------------------------
*/

.site-header {

    background: #ffffff;

    box-shadow: none;
}

.site-main {

    margin: 0;

    padding: 0;
}

.inside-article {

    padding: 0 !important;

    margin: 0 !important;

    background: transparent !important;

    box-shadow: none !important;

    max-width: 100% !important;
}

.entry-content {

    margin: 0;
}


/*
|---------------------------------------------------
| REMOVE PAGE TITLE
|---------------------------------------------------
*/

.entry-header {

    display: none;
}


/*
|---------------------------------------------------
| FORM SECTION
|---------------------------------------------------
*/

.reecycle-form-section {

    background:
        linear-gradient(
            180deg,
            #f7f7f7 0%,
            #f3f3f3 100%
        );

    padding: 100px 20px;
}


/*
|---------------------------------------------------
| FORM WRAPPER
|---------------------------------------------------
*/

.reecycle-form-wrapper {

    max-width: 760px;

    margin: 0 auto;

    padding: 60px;

    background: rgba(255,255,255,0.88);

    backdrop-filter: blur(16px);

    border-radius: 34px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.08),
        0 4px 12px rgba(0,0,0,0.04);

    position: relative;

    overflow: hidden;
}


/*
|---------------------------------------------------
| LIGHT EFFECT
|---------------------------------------------------
*/

.reecycle-form-wrapper::before {

    content: "";

    position: absolute;

    top: -120px;

    right: -120px;

    width: 260px;

    height: 260px;

    background: rgba(60,172,74,0.10);

    border-radius: 50%;

    filter: blur(40px);

    pointer-events: none;
}


/*
|---------------------------------------------------
| FORM SPACING
|---------------------------------------------------
*/

.reecycle-form-wrapper form {

    position: relative;

    z-index: 2;
}

.reecycle-form-wrapper p {

    margin-bottom: 18px;
}


/*
|---------------------------------------------------
| INPUTS
|---------------------------------------------------
*/

.reecycle-form-wrapper input,
.reecycle-form-wrapper textarea {

    width: 100%;

    border: 1px solid #ececec;

    border-radius: 16px;

    background: #ffffff;

    padding: 18px 20px;

    font-size: 16px;

    transition: all 0.2s ease;

    box-sizing: border-box;
}

.reecycle-form-wrapper input:focus,
.reecycle-form-wrapper textarea:focus {

    border-color: #3cab4a;

    box-shadow: 0 0 0 4px rgba(60,172,74,0.10);

    outline: none;
}


/*
|---------------------------------------------------
| CHECKBOX
|---------------------------------------------------
*/

.reecycle-form-wrapper input[type="checkbox"] {

    width: auto;

    margin-right: 10px;
}


/*
|---------------------------------------------------
| BUTTON
|---------------------------------------------------
*/

.reecycle-form-wrapper button,
.reecycle-form-wrapper input[type="submit"] {

    width: 100%;

    border: none;

    border-radius: 18px;

    padding: 18px 22px;

    background: linear-gradient(
        135deg,
        #1f1f1f,
        #2f2f2f
    );

    color: #ffffff;

    font-size: 17px;

    font-weight: 700;

    cursor: pointer;

    transition: all 0.25s ease;
}

.reecycle-form-wrapper button:hover,
.reecycle-form-wrapper input[type="submit"]:hover {

    transform: translateY(-2px);

    background: linear-gradient(
        135deg,
        #3cab4a,
        #2f9b3d
    );
}


/*
|---------------------------------------------------
| FLOATING MENU
|---------------------------------------------------
*/

.reecycle-floating-menu {

    position: fixed;

    right: 25px;

    top: 50%;

    transform: translateY(-50%);

    z-index: 9999;

    display: flex;

    flex-direction: column;

    gap: 14px;
}

.reecycle-floating-menu a {

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: rgba(30,30,30,0.88);

    color: #ffffff;

    text-decoration: none;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;

    backdrop-filter: blur(10px);

    box-shadow:
        0 6px 20px rgba(0,0,0,0.18);

    transition: all 0.25s ease;
}

.reecycle-floating-menu a:hover {

    transform: scale(1.08);

    background: #3cab4a;
}


/*
|---------------------------------------------------
| MOBILE
|---------------------------------------------------
*/

@media (max-width: 768px) {

    .reecycle-form-section {

        padding: 50px 16px;
    }

    .reecycle-form-wrapper {

        margin: 0 auto;

        padding: 35px 22px;

        border-radius: 24px;
    }

    .reecycle-floating-menu {

        right: 14px;

        bottom: 20px;

        top: auto;

        transform: none;
    }

    .reecycle-floating-menu a {

        width: 52px;

        height: 52px;

        font-size: 20px;
    }
}
/*
|---------------------------------------------------
| LOADING BUTTON
|---------------------------------------------------
*/

.reecycle-loading {

    opacity: 0.92;

    pointer-events: none;
}

.reecycle-loader {

    width: 18px;

    height: 18px;

    border: 2px solid rgba(255,255,255,0.35);

    border-top-color: #ffffff;

    border-radius: 50%;

    display: inline-block;

    margin-right: 10px;

    vertical-align: middle;

    animation:
        reecycle-spin 0.8s linear infinite;
}

@keyframes reecycle-spin {

    to {

        transform: rotate(360deg);
    }
}
/*
|---------------------------------------------------
| INSTALL APP BUTTON
|---------------------------------------------------
*/

.reecycle-install-wrapper {

    text-align: center;

    margin-top: 30px;
}

.reecycle-install-btn {

    background: #8bc98f;

    color: #ffffff;

    border: none;

    padding: 14px 24px;

    border-radius: 999px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;

    box-shadow:
        0 6px 20px rgba(60,172,74,0.18);
}

.reecycle-install-btn:hover {

    background: #3cab4a;

    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .reecycle-install-wrapper {

        margin-top: 22px;
    }

    .reecycle-install-btn {

        width: 100%;

        max-width: 320px;
    }
}