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

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}



:root {
    --body-color: #E4E9F7;
    --nav-color: #4070F4;
    --side-nav: #010718;
    --text-color: #FFF;
    --search-bar: #F2F2F2;
    --search-text: #010718;
    --card-color: #ffffff;

}

body.dark {
    --body-color: #1a1b1f;
    --nav-color: #262931;
    --side-nav: #242526;
    --text-color: #CCC;
    --search-bar: #363636;
    --card-color: #21242a;
    --button-color: #5f6061;
}

/* Scrool Bar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #003ec4;
    border-radius: 10px;
    transition: all 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #0051ff;
}

body {
    background: #f1f1f1;
}

body.dark {
    background-color: var(--body-color);
}

/* DarkMode */
.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Moon-Sun */
body.dark nav .darkLight-searchBox .dark-light .moon {
    color: #fff;
}

body.dark nav .darkLight-searchBox .dark-light .sun {
    color: #fff;
}

.darkLight-searchBox .dark-light .sun {
    color: #002333;
}

.darkLight-searchBox .dark-light .moon {
    color: #fff;
}

nav.sticky .darkLight-searchBox .dark-light .moon {
    color: #fff;
}

nav.sticky .darkLight-searchBox .dark-light .sun {
    color: #fff;
}

.dark-light i,
.searchToggle i {
    position: absolute;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-light i.sun {
    opacity: 0;
    pointer-events: none;
}

.dark-light.active i.sun {
    opacity: 1;
    pointer-events: auto;
}

.dark-light.active i.moon {
    opacity: 0;
    pointer-events: none;
}

/* Internet Connected */
.popup {
    position: fixed;
    left: 50%;
    top: -25%;
    z-index: 9999;
    visibility: hidden;
    width: 490px;
    border-radius: 5px;
    padding: 13px 17px 20px;
    background: #fff;
    display: flex;
    border-top: 3px solid #d0342c;
    transform: translateX(-50%);
    box-shadow: 0 10px 25px rgba(52, 87, 220, 0.1);
    transition: all 0.25s ease;
}

body.dark .popup {
    background: var(--card-color);
    color: var(--text-color);
}

.popup.show {
    top: 0;
    visibility: visible;
}

.popup.online {
    border-color: #2ECC71;
}

.popup .icon i {
    width: 40px;
    height: 40px;
    display: flex;
    color: #fff;
    margin-right: 15px;
    font-size: 1.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #d0342c;
}

.popup.online .icon i {
    background: #2ECC71;
}

.popup .title {
    font-size: 1.2rem;
}

.popup .desc {
    color: #474747;
    margin: 3px 0 10px;
    font-size: 1.04rem;
}

.popup .reconnect {
    border: none;
    outline: none;
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 13px;
    border-radius: 4px;
    background: #5372F0;
}

.popup.online .reconnect {
    background: #bfbfbf;
    pointer-events: none;
}

/* Navigation Bar - style.css'den alınıyor */

/* Navbar için random-password sayfası özel ayarları */
nav {
    background: linear-gradient(135deg, #013179, #002333) !important;
}

body.dark nav {
    background: linear-gradient(135deg, #1a1b1f, #0d1117) !important;
}

nav.sticky {
    background: linear-gradient(135deg, #013179, #002333) !important;
}

body.dark nav.sticky {
    background: linear-gradient(135deg, #1a1b1f, #0d1117) !important;
}

/* SECTİON */
#home {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

.container {
    width: 480px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

body.dark .container {
    background-color: var(--card-color);
}

.container h2 {
    font-weight: 600;
    font-size: 1.31rem;
    padding: 1rem 1.75rem;
    border-bottom: 1px solid #d4dbe5;
}

body.dark .container h2 {
    color: var(--text-color);
}

.wrapper {
    margin: 1.25rem 1.75rem;
}

.wrapper .input-box {
    position: relative;
}

.input-box input {
    width: 100%;
    height: 53px;
    color: #000;
    background: none;
    font-size: 1.06rem;
    font-weight: 500;
    border-radius: 4px;
    letter-spacing: 1.4px;
    border: 1px solid #aaa;
    padding: 0 2.85rem 0 1rem;
}

body.dark .input-box input {
    color: var(--text-color);
}

.input-box span {
    position: absolute;
    right: 13px;
    cursor: pointer;
    line-height: 53px;
    color: #707070;
}

.input-box span:hover {
    color: #4285F4 !important;
}

.wrapper .pass-indicator {
    width: 100%;
    height: 4px;
    position: relative;
    background: #dfdfdf;
    margin-top: 0.75rem;
    border-radius: 25px;
}

.pass-indicator::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 50%;
    border-radius: inherit;
    transition: width 0.3s ease;
}

.pass-indicator#weak::before {
    width: 20%;
    background: #E64A4A;
}

.pass-indicator#medium::before {
    width: 50%;
    background: #f1c80b;
}

.pass-indicator#strong::before {
    width: 100%;
    background: #63f442;
}

.wrapper .pass-length {
    margin: 1.56rem 0 1.25rem;
}

.pass-length .details {
    display: flex;
    justify-content: space-between;
}

.pass-length input {
    width: 100%;
    height: 5px;
}

.pass-settings .options {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.pass-settings .options .option {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    width: calc(100% / 2);
}

.options .option:first-child {
    pointer-events: none;
}

.options .option:first-child input {
    opacity: 0.7;
}

.options .option input {
    height: 16px;
    width: 16px;
    cursor: pointer;
}

.options .option label {
    cursor: pointer;
    color: #4f4f4f;
    padding-left: 0.63rem;
}

body.dark .options .option label {
    color: var(--text-color);
}

body.dark .details .title {
    color: var(--text-color);
}

body.dark .pass-settings .title {
    color: var(--text-color);
}

body.dark .details span {
    color: var(--text-color);
}

.wrapper .generate-btn {
    width: 100%;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    background: #4285F4;
    font-size: 1.06rem;
    padding: 0.94rem 0;
    border-radius: 5px;
    text-transform: uppercase;
    margin: 0.94rem 0 1.3rem;
}

/* Footer - style.css'den alınıyor */

/* Footer Logo Stilleri */
footer .logo-details .logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    display: block;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

footer .logo-details .logo-text:hover {
    transform: scale(1.02);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

footer .logo-details .logo-highlight {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

footer .logo-details .logo-highlight:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

footer .logo-details .logo-dot {
    color: #FFFFFF;
}

/* MEDİA QUERY */

@media (max-width: 900px) {
    /* Footer styles from style.css */
}

@media (max-width: 750px) {
    /* Navbar styles from style.css */
}

@media (max-width: 700px) {
    /* Footer styles from style.css */
}

@media (max-width:500px) {
    /* Navbar styles from style.css */

    .container {
        width: 480px;
        background: #fff;
        margin: 100px 10px 0 10px;
        border-radius: 8px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .options .option label {
        cursor: pointer;
        color: #4f4f4f;
        padding-left: 8px;
        font-size: 13px;
    }

    .wrapper .generate-btn {
        width: 100%;
        color: #fff;
        border: none;
        outline: none;
        cursor: pointer;
        background: #4285F4;
        font-size: 14px;
        padding: 12px 0;
        border-radius: 5px;
        text-transform: uppercase;
        margin: 0.94rem 0 1.3rem;
    }

    /* Internet Connected */
    .popup {
        position: fixed;
        left: 50%;
        top: -25%;
        z-index: 9999;
        visibility: hidden;
        width: 340px;
        border-radius: 5px;
        padding: 10px;
        background: #fff;
        display: flex;
        border-top: 3px solid #d0342c;
        transform: translateX(-50%);
        box-shadow: 0 10px 25px rgba(52, 87, 220, 0.1);
        transition: all 0.25s ease;
    }

    body.dark .popup {
        background: var(--card-color);
        color: var(--text-color);
    }

    .popup.show {
        top: 0;
        visibility: visible;
    }

    footer .logo-details .logo-text {
        font-size: 24px;
    }

    .popup.online {
        border-color: #2ECC71;
    }

    .popup .icon i {
        width: 40px;
        height: 40px;
        display: flex;
        color: #fff;
        margin-right: 0;
        font-size: 1.2rem;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #d0342c;
    }

    .popup.online .icon i {
        background: #2ECC71;
    }

    .popup .title {
        font-size: 16px;
    }

    .popup .desc {
        color: #474747;
        margin: 3px 0 10px;
        font-size: 14px;
    }

    .popup .reconnect {
        border: none;
        outline: none;
        color: #fff;
        cursor: pointer;
        font-weight: 500;
        font-size: 12px;
        padding: 7px 10px;
        border-radius: 4px;
        background: #5372F0;
    }

    .popup.online .reconnect {
        background: #bfbfbf;
        pointer-events: none;
    }
}