/* Email verification styles */
.verification-container {
    margin: 15px 0;
    padding: 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
}

.verification-alert {
    display: flex;
    align-items: center;
    gap: 12px;
}

.verification-alert i {
    font-size: 24px;
    color: #856404;
}

.verification-alert p {
    margin: 0;
    flex-grow: 1;
}

.verification-alert button {
    white-space: nowrap;
}

/* Password recovery styles */
.forgot-password {
    text-align: right;
    margin-bottom: 15px;
    font-size: 14px;
}

.forgot-password a {
    color: #4285f4;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* GDPR Notice styles */
.gdpr-notice {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-align: center;
}

.gdpr-notice small {
    color: #6c757d;
    line-height: 1.4;
}

.gdpr-notice a {
    color: #4285f4;
    text-decoration: none;
}

.gdpr-notice a:hover {
    text-decoration: underline;
}

/* Reset password page styles */
.reset-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.icon-container {
    text-align: center;
    margin: 20px 0;
    font-size: 64px;
}

.success-icon {
    color: #4CAF50;
}

.error-icon {
    color: #F44336;
}

.loading-icon {
    color: #2196F3;
}

.reset-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.reset-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    text-align: center;
}

.reset-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.reset-button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.reset-button:hover {
    background-color: #3367d6;
}

.login-link {
    text-align: center;
    margin-top: 20px;
}

.form-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
}

.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.success {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

/* Verification page styles */
.verification-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.verification-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.verification-message {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.verification-button {
    background-color: #4285f4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.verification-button:hover {
    background-color: #3367d6;
}

/* Additional styles for inline style replacements */
.hidden {
    display: none !important;
}

.reset-state, .verification-state {
    display: none;
}

.opera-instructions {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 4px;
}

.opera-instructions ol {
    margin-top: 5px;
    margin-bottom: 0;
    padding-left: 20px;
}

.username-reminder {
    background-color: #e8f5e8;
    border: 1px solid #4CAF50;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.maidenhead-info {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 12px;
    border-radius: 4px;
    margin-top: 8px;
    font-size: 14px;
}

.maidenhead-info-content {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.maidenhead-info i {
    color: #856404;
    margin-top: 2px;
}

.maidenhead-info strong {
    color: #856404;
}

.maidenhead-info p {
    margin: 5px 0 0 0;
    color: #856404;
    font-size: 13px;
}

.maidenhead-info a {
    color: #0056b3;
}

.account-creation-notice {
    margin: 20px 0;
    padding: 15px;
    background-color: #e3f2fd;
    border: 1px solid #2196f3;
    border-radius: 6px;
}

.account-creation-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-creation-content i {
    color: #2196f3;
    font-size: 18px;
}

.account-creation-content strong {
    color: #1976d2;
}

.account-creation-content p {
    margin: 5px 0 0 0;
    color: #1565c0;
    font-size: 14px;
}

.disabled-label {
    color: #999;
}

.disabled-input {
    opacity: 0.5;
}

.hint {
    color: #999;
}

.hint a {
    color: #0056b3;
    text-decoration: none;
}

.hint a:hover {
    text-decoration: underline;
}

.progress-indicator {
    width: 0%;
    transition: width 0.3s ease;
}

.meter-level {
    width: 60%;
    transition: width 0.3s ease;
}

.warning-text {
    color: red;
    font-weight: bold;
    text-align: center;
}

/* Form display states for CSP compliance */
.form-visible {
    display: block !important;
}

.form-hidden {
    display: none !important;
}

/* Progress bar styles for CSP compliance */
.progress {
    width: 0%;
    transition: width 0.3s ease;
}

/* Progress indicators using CSS custom properties for CSP compliance */
#efficiencyBar {
    width: var(--efficiency-width, 0%);
    transition: width 0.3s ease;
}

#progressIndicator {
    width: var(--progress-width, 0%);
    transition: width 0.3s ease;
}

#unlockProgress {
    width: var(--unlock-width, 0%);
    transition: width 0.3s ease;
}

#targetedPracticeUnlockProgress {
    width: var(--targeted-width, 0%);
    transition: width 0.3s ease;
}

#regionalUnlockProgress {
    width: var(--regional-unlock-width, 0%);
    transition: width 0.3s ease;
}

/* Progress width classes for CSP compliance */
.progress-0 { width: 0%; }
.progress-10 { width: 10%; }
.progress-20 { width: 20%; }
.progress-30 { width: 30%; }
.progress-40 { width: 40%; }
.progress-50 { width: 50%; }
.progress-60 { width: 60%; }
.progress-70 { width: 70%; }
.progress-80 { width: 80%; }
.progress-90 { width: 90%; }
.progress-100 { width: 100%; }

.progress-circle {
    background: conic-gradient(var(--primary-color) var(--progress-percent, 0%), var(--border-color) 0%);
    transition: background 0.3s ease;
}

.regional-progress-circle {
    background: conic-gradient(var(--accent-color) var(--regional-progress-percent, 0%), var(--border-color) 0%);
    transition: background 0.3s ease;
}

/* Character display styles for training */
.char-display-container {
    display: inline-block;
    text-align: center;
    margin: 0 10px;
}

.char-label {
    display: block;
    font-size: 0.8em;
    margin-bottom: 3px;
}

.correct {
    color: var(--success-color);
    font-weight: bold;
}

.incorrect {
    color: var(--error-color);
    font-weight: bold;
}

/* Timing segment styles for iambic trainer */
.timing-segment {
    height: 100%;
    width: 0px;
    transition: width 0.3s ease;
}

/* Timing segment width classes for CSP compliance */
.width-0 { width: 0px; }
.width-20 { width: 20px; }
.width-40 { width: 40px; }
.width-60 { width: 60px; }
.width-80 { width: 80px; }
.width-100 { width: 100px; }
.width-120 { width: 120px; }
.width-140 { width: 140px; }
.width-160 { width: 160px; }
.width-180 { width: 180px; }
.width-200 { width: 200px; }
