/* Password Strength Checker Styles */

.form-center {
    text-align: center;
}

.password-form {
    max-width: 600px;
    margin: 0 auto;
}

.password-input-wrapper {
    position: relative;
    margin-bottom: 24px;
}

.password-input-field {
    width: 100%;
    padding: 14px 50px 14px 16px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    /* Ensure padding doesn't overflow width */
}

.toggle-visibility-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    opacity: 0.6;
}

.strength-meter {
    margin-bottom: 24px;
}

.meter-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.meter-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.strength-label {
    margin-top: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.score-display-container {
    display: none;
    margin-bottom: 24px;
}

.score-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.score-value {
    font-size: 24px;
    font-weight: 700;
    color: #172f45;
}

.score-label {
    font-size: 12px;
    color: #666;
}

.analysis-results {
    display: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.criteria-list {
    margin-bottom: 24px;
}

.suggestion-box {
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 16px;
    background: #172f45;
    border-radius: 8px;
    text-align: center;
}

.suggestion-text {
    margin: 0 0 12px 0;
    color: #fff;
    font-size: 15px;
}

.generator-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.content-tabs {
    margin-top: 60px;
}

.best-practices-list {
    list-style: disc;
    padding-left: 24px;
}

/* Extracted from internal <style> block */
.score-item {
    text-align: center;
    padding: 16px 24px;
    background: #f8f9fa;
    border-radius: 8px;
    min-width: 120px;
}

.criteria-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.criteria-item:last-child {
    border-bottom: none;
}

.criteria-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.criteria-text {
    font-size: 14px;
    color: #333;
}

.criteria-item.pass .criteria-text {
    color: #155724;
}

.criteria-item.fail .criteria-text {
    color: #721c24;
}

.suggestions-box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.suggestions-box h4 {
    color: #856404;
    margin: 0 0 12px 0;
}

.suggestions-box ul {
    margin: 0;
    padding-left: 20px;
}

.suggestions-box li {
    color: #856404;
    margin-bottom: 6px;
    font-size: 14px;
}

.common-warning {
    background: #f8d7da;
    border: 1px solid #dc3545;
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.common-warning h4 {
    color: #721c24;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.common-warning p {
    color: #721c24;
    margin: 0;
    font-size: 14px;
}