.password-container {
    padding-bottom: 1rem;
}

.password-display-group {
    margin-bottom: 1.5rem;
}

.password-display-wrapper {
    display: flex;
    gap: 0.5rem;
}

.password-display {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(58, 85, 140, 0.3);
    border: 2px solid rgba(58, 85, 140, 0.5);
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.password-display:focus {
    background: rgba(58, 85, 140, 0.4);
    border-color: rgba(114, 164, 242, 0.8);
    box-shadow: 0 0 0 3px rgba(114, 164, 242, 0.2);
}

.btn-copy {
    padding: 0.75rem 1rem;
    background: rgba(58, 85, 140, 0.3);
    border: 2px solid rgba(58, 85, 140, 0.5);
    border-radius: 8px;
    color: var(--text-white);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-copy:hover:not(:disabled) {
    background: rgba(58, 85, 140, 0.5);
    border-color: rgba(114, 164, 242, 0.8);
}

.btn-copy:active:not(:disabled) {
    transform: scale(0.95);
}

.btn-copy:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-copy svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.option-group {
    margin-bottom: 1.5rem;
}

.range-input {
    width: 100%;
    height: 6px;
    background: rgba(58, 85, 140, 0.3);
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gradient-blue);
    border: 2px solid rgba(114, 164, 242, 0.8);
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.range-input::-webkit-slider-thumb:hover {
    background: var(--gradient-blue-hover);
    transform: scale(1.1);
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--gradient-blue);
    border: 2px solid rgba(114, 164, 242, 0.8);
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
}

.range-input::-moz-range-thumb:hover {
    background: var(--gradient-blue-hover);
    transform: scale(1.1);
}

.checkboxes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(58, 85, 140, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    color: var(--text-white);
    font-size: 0.95rem;
    user-select: none;
}

.checkbox-label:hover {
    background: rgba(58, 85, 140, 0.3);
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    position: relative;
    width: 22px;
    height: 22px;
    background: rgba(58, 85, 140, 0.3);
    border: 2px solid rgba(58, 85, 140, 0.5);
    border-radius: 6px;
    transition: background 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.checkbox-input:checked ~ .checkbox-custom {
    background: var(--gradient-blue);
    border-color: rgba(114, 164, 242, 0.8);
}

.checkbox-input:checked ~ .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label:hover .checkbox-custom {
    border-color: rgba(114, 164, 242, 0.8);
}

.btn-generate {
    margin-bottom: 1.5rem;
}

.strength-meter {
    padding: 1rem;
    background: rgba(58, 85, 140, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(58, 85, 140, 0.3);
}

.strength-label {
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.strength-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(58, 85, 140, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.5s ease, background 0.5s ease;
}

@media (max-width: 768px) {
    .checkboxes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .password-display {
        font-size: 0.85rem;
    }

    .btn-copy {
        padding: 0.65rem 0.85rem;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }
}
