/* Password Generator Specific Styles */
.password-options {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-group label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    display: block;
}

.slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-light);
    outline: none;
    margin: 1rem 0;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
}

.password-result {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.password-display {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.password-display input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--gray-light);
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    background: var(--light);
}

.password-strength {
    margin-top: 1rem;
}

.strength-meter {
    height: 8px;
    background: var(--gray-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-bar {
    height: 100%;
    width: 100%;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.strength-weak { background: #ef4444; width: 25%; }
.strength-fair { background: #f59e0b; width: 50%; }
.strength-good { background: #eab308; width: 75%; }
.strength-strong { background: #10b981; width: 100%; }
.strength-very-strong { background: #059669; width: 100%; }

.strength-text {
    font-weight: 600;
    text-align: center;
}

.security-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    text-align: center;
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.tip-card h4 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.tip-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.multiple-passwords {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.password-list {
    display: grid;
    gap: 0.5rem;
    margin-top: 1rem;
}

.password-item {
    display: flex;
    justify-content: between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--gray-light);
}

.password-item span {
    flex: 1;
    font-family: 'Courier New', monospace;
}

/* Responsive Design */
@media (max-width: 768px) {
    .password-display {
        flex-direction: column;
    }
    
    .security-tips {
        grid-template-columns: 1fr;
    }
    
    .password-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .password-item .btn {
        align-self: stretch;
    }
}

/* Checkbox Styling */
.checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray);
    border-radius: 4px;
    background: white;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.checkbox-label input[type="checkbox"]:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}