.password-generator-bg {
    background: linear-gradient(180deg, #100025 40%, #110141 100%), #D9D9D9;
    transition: background 0.3s ease-in-out;
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.password-generator-bg-stars {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0 auto;
    padding: 50px 150px;
}

.password-generator-wrapper {
    width: 100%;
    display: flex;
    gap: 50px;
    margin: 3rem 0 3rem 0;
    height: auto;
    min-height: 650px;
    flex: 1;
}

.password-generator-card {
    position: relative;
    background: #1e1e2f;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    width: 70%;
    border: none;
}

.password-generator-card:hover {
    box-shadow: 1px 1px 5px 2px #6E00FF;
}

.password-generator-result-card {
    position: relative;
    background: #1E1E2F;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    width: 30%;
}

.password-generator-result-card:hover {
    box-shadow: 1px 1px 5px 2px #6E00FF;
}

.password-generator-card-header {
    padding: 2rem 2rem 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.password-generator-card-header span {
    color: #fff;
    font-size: 24px;
    letter-spacing: 0.5px;
    font-weight: 800;
    margin-right: 10px;
}

.password-generator-card-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.password-generator-card-icons i {
    background: #6E00FF;
    color: #FFFFFF;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    padding: 1rem;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.password-generator-card-icons i:hover::after {
    content: attr(title);
    position: absolute;
    top: -30px;
    background-color: #F8FAFC;
    color: #220554;
    padding: 5px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    width: 120px;
    text-align: center;
    font-weight: 600;
    font-family: 'Overpass', sans-serif;
    z-index: 20;
}

.password-generator-card-content {
    padding: 2rem;
}

.password-generator-output-container {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.password-generator-output {
    width: 100%;
    height: 60px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 18px;
    line-height: 1.6;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #334155;
    font-weight: 500;
    overflow: auto;
}

.password-generator-copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #6E00FF;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.password-generator-copy-btn:hover {
    background: #5900cc;
    transform: translateY(-50%) scale(1.1);
}

.password-generator-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.password-generator-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #ffffff;
    font-size: 16px;
}

.password-generator-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.password-generator-range-container {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.password-generator-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #39394e;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.password-generator-range:hover {
    opacity: 1;
}

.password-generator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #6E00FF;
    border-radius: 50%;
    cursor: pointer;
}

.password-generator-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #6E00FF;
    border-radius: 50%;
    cursor: pointer;
}

.password-generator-result-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.password-generator-strength-meter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.password-generator-strength-bar {
    width: 100%;
    height: 10px;
    background: #39394e;
    border-radius: 5px;
    overflow: hidden;
}

.password-generator-strength-bar-fill {
    height: 100%;
    width: 90%;
    background: linear-gradient(to right, #FF4D4D, #FF9900, #36B37E);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.password-generator-strength-text {
    color: #36B37E;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.password-generator-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.password-generator-feature {
    background: #272737;
    padding: 1rem;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.password-generator-feature i {
    font-size: 20px;
    color: #6E00FF;
}

.password-generator-feature:hover {
    transform: scale(1.03);
}

.password-generator-result {
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
    animation: password-generator-fade 0.3s ease;
}

@keyframes password-generator-fade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-generator-result-error {
    background: #d52e08;
    color: #ffff;
    margin: 0 1rem;
}

.password-generator-result-success {
    background: #36B37E;
    color: #ffff;
    margin: 0 1rem;
}

.password-generator-result-warning {
    background: linear-gradient(135deg, #f5a623, #f5a623);
    color: #ffff;
    margin: 0 1rem;
    margin-top: 15px;
}

.tool-password-generator-content-page {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
}

.tool-password-generator-content-page ul li {
    list-style-type: initial;
    margin-left: 15px;
}

.tool-password-generator-content-page ol li {
    list-style-type: initial;
    margin-left: 15px;
}

.password-generator-faq-container {
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}

.password-generator-faq-item {
    margin-bottom: 8px;
}

.password-generator-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 24px 0;
    font-size: 18px;
    color: #100025;
    font-weight: 500;
    line-height: 28px;
    font-family: 'Inter', sans-serif;
}

.password-generator-faq-answer {
    display: none;
    font-size: 16px;
    font-weight: 400;
    color: #6E7D88;
    line-height: 24px;
}

.password-generator-divider {
    border: 0;
    border-top: 0.1px solid #EEE;
    margin: 0;
}

@media(max-width: 1330px){
    .password-generator-wrapper {
        width: 100%;
        flex-direction: column;
        gap: 50px;
    }

    .password-generator-card {
        width: 100%;
    }

    .password-generator-result-card {
        width: 100%;
    }
}

@media(max-width:900px) {
    .pomodoro-bg-stars {
        padding: 50px 100px;
    }
}

@media(max-width: 850px) {
    .password-generator-card-header span {
        font-size: 20px;
    }

    .password-generator-output {
        height: 50px;
        font-size: 16px;
    }

    .password-generator-card-icons i {
        width: 2rem;
        height: 2rem;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .pomodoro-bg-stars {
        padding: 50px 80px;
    }

    .password-generator-wrapper {
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .password-generator-card, .password-generator-result-card {
        width: 100%;
    }

    .primary-button {
        width: 100%;
        margin: 1rem 0;
        padding: 0.5rem 1rem;
    }

    .password-generator-card-icons i {
        width: 2rem;
        height: 2rem;
        font-size: 16px;
    }

    .password-generator-feature {
        font-size: 14px;
        padding: 0.8rem;
    }
}

@media(max-width: 580px){
    .pomodoro-bg-stars {
        padding: 50px 50px;
    }

    .password-generator-card-content {
        padding: 1rem;
    }

    .password-generator-card-header {
        padding: 1rem 1rem 0 1rem;
        display: grid;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .password-generator-card-header span {
        font-size: 18px;
    }

    .password-generator-output {
        font-size: 14px;
        height: 45px;
    }

    .password-generator-card-icons i {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 14px;
    }

    .primary-button {
        font-size: 14px;
    }

    .password-generator-features {
        margin: 0;
    }

    .password-generator-result-success {
        margin: 1rem 0;
    }

    .password-generator-result-error {
        margin: 1rem 0;
    }

    .password-generator-result-warning {
        margin: 1rem 0;
    }

    .password-generator-wrapper {
        margin: 1rem 0 3rem 0;
    }
}

@media(max-width: 450px){
    .pomodoro-bg-stars {
        padding: 50px 20px;
    }
}