/* Password Generator – DozeGear - Optimized Styles */

.pwdg-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 15px;
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
}

.pwdg-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.pwdg-header {
    background: #006bff;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.pwdg-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.pwdg-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.pwdg-body {
    padding: 25px;
}

/* Password Display */

.pwdg-password-display {
    margin-bottom: 25px;
}

.pwdg-password-field {
    display: flex;
    gap: 10px;
    background: #f6f7f9;
    border-radius: 12px;
    padding: 5px;
    border: 1px solid #ddd;
}

#pwdg-generated-password {
    flex: 1;
    padding: 16px;
    font-size: 1.2rem;
    border: none;
    background: transparent;
    outline: none;
    font-family: monospace;
}

.pwdg-password-actions {
    display: flex;
    gap: 8px;
}

/* Buttons */

.pwdg-btn {
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pwdg-btn-primary {
    background: #006bff;
    color: white;
}

.pwdg-btn-secondary {
    background: #6c757d;
    color: white;
}

.pwdg-btn-copy {
    background: #28a745;
    color: white;
}

.pwdg-btn-refresh {
    background: #fd7e14;
    color: white;
}

/* Strength Meter */

.pwdg-strength-meter {
    margin: 20px 0;
    padding: 15px;
    background: #f6f7f9;
    border-radius: 12px;
}

.pwdg-strength-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 10px;
}

.pwdg-strength-bar {
    height: 10px;
    background: #eaeaea;
    border-radius: 5px;
}

.pwdg-strength-fill {
    height: 100%;
    width: 60%;
    border-radius: 5px;
    background: #ffd166;
    transition: width 0.3s ease;
}

/* Controls */

.pwdg-control-group {
    margin: 20px 0;
    padding: 15px;
    background: #f6f7f9;
    border-radius: 12px;
}

.pwdg-control-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
}

.pwdg-length-value {
    background: #006bff;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
}

.pwdg-slider {
    width: 100%;
}

/* Options */

.pwdg-options-group {
    margin: 20px 0;
    padding: 15px;
    background: #f6f7f9;
    border-radius: 12px;
}

.pwdg-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.pwdg-option {
    display: flex;
    align-items: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.pwdg-option input {
    margin-right: 10px;
}

.pwdg-checkmark {
    display: none;
}

/* Actions */

.pwdg-actions {
    display: flex;
    gap: 10px;
    margin: 25px 0;
}

/* Footer */

.pwdg-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pwdg-footer-note {
    color: #006bff;
    font-weight: 600;
    margin-bottom: 5px;
}

.pwdg-disclaimer {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Responsive */

@media (max-width: 768px) {
    .pwdg-title {
        font-size: 1.8rem;
    }

    .pwdg-actions {
        flex-direction: column;
    }

    .pwdg-password-field {
        flex-direction: column;
    }
}