/**
 * Atlas Wizard - Wheel of Life Assessment Styles
 */

.atlas-wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: var(--atlas-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.atlas-wizard-header {
    text-align: center;
    margin-bottom: 30px;
}

.atlas-wizard-header h2 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

.atlas-wizard-description {
    color: var(--atlas-text-secondary, #646970);
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

/* Progress Bar */
.atlas-wizard-progress {
    margin-bottom: 30px;
}

.atlas-progress-bar {
    width: 100%;
    height: 8px;
    background-color: var(--atlas-progress-bar-bg, #e1e5e9);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.atlas-progress-fill {
    height: 100%;
    background: var(--atlas-progress-bar-fill, linear-gradient(90deg, #3b82f6, #1d4ed8));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.atlas-progress-text {
    text-align: center;
    font-size: 14px;
    color: var(--atlas-text-secondary, #646970);
    font-weight: 500;
}

/* Wizard Steps */
.atlas-wizard-steps {
    position: relative;
}

.atlas-wizard-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.atlas-wizard-step:first-child {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.atlas-step-header {
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--atlas-border, #e1e5e9);
}

.atlas-step-header h3 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.atlas-step-description {
    color: var(--atlas-text-secondary, #646970);
    font-size: 16px;
    margin: 0;
}

/* Question Cards */
.atlas-questions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.atlas-question-card {
    background: #fff;
    border: 1px solid var(--atlas-border, #e1e5e9);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.atlas-question-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.atlas-question-content {
    margin-bottom: 20px;
}

.atlas-question-title {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.atlas-question-description {
    color: var(--atlas-text-secondary, #646970);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.atlas-question-help {
    color: #8c8f94;
    font-size: 13px;
    font-style: italic;
    margin: 0;
    line-height: 1.4;
}

/* Rating Scale */
.atlas-question-rating {
    margin-top: 20px;
}

.atlas-rating-scale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.atlas-rating-label {
    font-size: 16px;
    color: var(--atlas-text-primary, #1d2327);
    font-weight: 600;
    white-space: nowrap;
}

.atlas-rating-options {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.atlas-rating-option {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #e1e5e9;
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
}

.atlas-rating-option:hover {
    border-color: #3b82f6;
    background: #f8fafc;
}

.atlas-rating-option.selected {
    border-color: #3b82f6;
    background: var(--atlas-primary, #3b82f6);
    color: #fff;
}

.atlas-rating-option.selected .atlas-rating-label {
    color: #fff !important;
}

.atlas-rating-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

/* Validation Error State */
.atlas-question-card.atlas-validation-error {
    border-color: #dc2626;
    background-color: #fef2f2;
    box-shadow: 0 0 0 1px #dc2626;
}

.atlas-question-card.atlas-validation-error .atlas-question-title {
    color: #dc2626;
}

/* Navigation */
.atlas-wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.atlas-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    gap: 8px;
}

.atlas-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.atlas-btn-primary {
    background: var(--atlas-primary, #3b82f6);
    color: #fff;
}

.atlas-btn-primary:hover:not(:disabled) {
    background: var(--atlas-primary-dark, #2563eb);
    transform: translateY(-1px);
}

.atlas-btn-secondary {
    background: var(--atlas-button-secondary-bg, #f8fafc);
    color: var(--atlas-button-secondary-text, #374151);
    border: 1px solid var(--atlas-button-secondary-border, #e1e5e9);
}

.atlas-btn-secondary:hover:not(:disabled) {
    background: var(--atlas-button-secondary-hover-bg, #f1f5f9);
    border-color: var(--atlas-border-dark, #cbd5e1);
}

.atlas-btn-success {
    background: var(--atlas-success, #10b981);
    color: var(--atlas-text-on-success, #fff);
}

.atlas-btn-success:hover:not(:disabled) {
    background: var(--atlas-success-dark, #059669);
    transform: translateY(-1px);
}

/* Results Section */
.atlas-wizard-results {
    text-align: center;
}

.atlas-results-header {
    margin-bottom: 30px;
}

.atlas-results-header h3 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.atlas-results-header p {
    color: var(--atlas-text-secondary, #646970);
    font-size: 16px;
    margin: 0;
}

.atlas-radar-chart-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--atlas-border, #e1e5e9);
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.atlas-radar-chart-container canvas {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* AI Analysis */
.atlas-ai-analysis {
    margin: 30px 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--atlas-border, #e1e5e9);
    text-align: left;
}

.atlas-ai-analysis h4 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 600;
}

.atlas-ai-analysis-text {
    margin-bottom: 20px;
}

.atlas-ai-analysis-text h5 {
    color: #374151;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.atlas-ai-analysis-text p {
    color: var(--atlas-text-secondary, #646970);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.atlas-ai-goals h5 {
    color: #374151;
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 600;
}

.atlas-goals-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.atlas-goal-item {
    background: #fff;
    border: 1px solid var(--atlas-border, #e1e5e9);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.atlas-goal-item h6 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.atlas-goal-item p {
    color: var(--atlas-text-secondary, #646970);
    font-size: 13px;
    margin: 4px 0;
    line-height: 1.5;
}

/* Results Actions */
.atlas-results-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    align-items: center;
}

.atlas-results-actions .atlas-btn {
    flex-shrink: 0;
    min-width: fit-content;
}

/* Login Required */
.atlas-wizard-login-required {
    text-align: center;
    padding: 40px 20px;
}

.atlas-login-message {
    background: #fff;
    border: 1px solid var(--atlas-border, #e1e5e9);
    border-radius: 12px;
    padding: 40px;
    max-width: 400px;
    margin: 0 auto;
}

.atlas-login-message h3 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.atlas-login-message p {
    color: var(--atlas-text-secondary, #646970);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Completed Wizard */
.atlas-wizard-completed {
    text-align: center;
}

.atlas-completed-header {
    margin-bottom: 30px;
}

.atlas-completed-header h3 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.atlas-completed-header p {
    color: var(--atlas-text-secondary, #646970);
    font-size: 16px;
    margin-bottom: 8px;
}

.atlas-completion-date {
    color: #8c8f94;
    font-size: 14px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .atlas-wizard-container {
        padding: 15px;
    }
    
    .atlas-wizard-header h2 {
        font-size: 24px;
    }
    
    .atlas-step-header h3 {
        font-size: 24px;
    }
    
    .atlas-question-card {
        padding: 20px;
    }
    
    .atlas-rating-scale {
        flex-direction: column;
        gap: 10px;
    }
    
    .atlas-rating-options {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .atlas-rating-option {
        width: 36px;
        height: 36px;
    }
    
    .atlas-rating-number {
        font-size: 14px;
    }
    
    .atlas-wizard-navigation {
        flex-direction: column;
        gap: 12px;
    }
    
    .atlas-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .atlas-results-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .atlas-results-actions .atlas-btn {
        width: 100%;
        min-width: unset;
    }
    
    .atlas-radar-chart-container {
        padding: 15px;
        height: 400px;
    }
    
    .atlas-radar-chart-container canvas {
        max-width: 90%;
        max-height: 90%;
    }
}

@media (max-width: 480px) {
    .atlas-wizard-container {
        padding: 10px;
    }
    
    .atlas-question-card {
        padding: 16px;
    }
    
    .atlas-rating-option {
        width: 32px;
        height: 32px;
    }
    
    .atlas-rating-number {
        font-size: 12px;
    }
}

/* Hide navigation buttons when results are shown */
/* Hide all wizard elements when completed */
.atlas-wizard-completed .atlas-wizard-navigation,
.atlas-wizard-completed .atlas-wizard-form,
.atlas-wizard-completed .atlas-wizard-progress,
.atlas-wizard-completed .atlas-wizard-header,
.atlas-wizard-completed #atlas-wizard-prev,
.atlas-wizard-completed #atlas-wizard-next,
.atlas-wizard-completed #atlas-wizard-submit,
.atlas-wizard-completed .atlas-wizard-instructions {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* AI Analysis Styles */
.atlas-ai-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid var(--atlas-border, #e1e5e9);
}

/* AI Loading Styles */
.atlas-ai-loading {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid var(--atlas-border, #e1e5e9);
}

.atlas-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e1e5e9;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: atlas-spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes atlas-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.atlas-ai-loading p {
    color: var(--atlas-text-secondary, #646970);
    font-size: 16px;
    margin: 0;
}

.atlas-ai-section h4 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 8px;
}

.atlas-analysis-text {
    margin-bottom: 20px;
}

.atlas-analysis-text p {
    color: var(--atlas-text-secondary, #646970);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.atlas-weak-areas {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.atlas-weak-areas li {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 8px 12px;
    margin-bottom: 8px;
    border-radius: 4px;
    font-size: 14px;
}

.atlas-suggested-goals {
    display: grid;
    gap: 20px;
}

.atlas-goal-item {
    background: #fff;
    border: 1px solid var(--atlas-border, #e1e5e9);
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.atlas-goal-item h5 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 16px;
    font-weight: 600;
}

.atlas-goal-description {
    color: var(--atlas-text-secondary, #646970);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px 0;
    font-style: italic;
}

.atlas-goal-item p {
    color: var(--atlas-text-secondary, #646970);
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
}

.atlas-goal-item p strong {
    color: var(--atlas-text-primary, #1d2327);
    font-weight: 600;
}

/* AI Error Message */
.atlas-ai-error {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid var(--atlas-border, #e1e5e9);
    border-radius: 6px;
    margin: 16px 0;
}

.atlas-ai-error p {
    margin: 0 0 16px 0;
    color: var(--atlas-text-secondary, #646970);
    font-size: 14px;
    line-height: 1.5;
}

.atlas-weak-areas {
    margin-top: 20px;
}

.atlas-weak-areas h4 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 18px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.atlas-weak-areas-list {
    display: grid;
    gap: 12px;
}

.atlas-weak-area-item {
    padding: 16px;
    background: var(--atlas-card-bg, #ffffff);
    border-radius: 8px;
    border: 1px solid var(--atlas-border, #e1e5e9);
    border-left: 4px solid #dc3545;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

.atlas-weak-area-item:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.atlas-weak-area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.atlas-category-name {
    font-weight: 600;
    color: var(--atlas-text-primary, #1d2327);
    font-size: 16px;
}

.atlas-score {
    color: #dc3545;
    font-weight: 700;
    font-size: 14px;
    background: #f8d7da;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

.atlas-weak-area-reason {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    margin: 0;
    padding-left: 4px;
}

/* RAG Enhancement Styles */
.atlas-rag-indicator {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.atlas-rag-indicator p {
    margin: 0;
    color: #1565c0;
    font-weight: 500;
}

/* Category Grouping */
.atlas-category-group {
    margin-bottom: 24px;
    border: 1px solid var(--atlas-border, #e1e5e9);
    border-radius: 8px;
    overflow: hidden;
}

.atlas-category-title {
    background: #f8f9fa;
    margin: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--atlas-text-primary, #1d2327);
    border-bottom: 1px solid #e1e5e9;
}

.atlas-goal-item {
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
}

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

.atlas-goal-item h6 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--atlas-text-primary, #1d2327);
}

.atlas-goal-description {
    margin: 0 0 8px 0;
    color: var(--atlas-text-secondary, #646970);
    font-size: 14px;
    line-height: 1.4;
}

.atlas-similarity {
    margin: 0 0 12px 0;
    color: #28a745;
    font-size: 12px;
    font-weight: 500;
}

/* Goal Actions */

.atlas-goal-actions h6 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

.atlas-actions-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.atlas-action-item {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

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

.atlas-action-item strong {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 14px;
}

.atlas-action-description {
    margin: 4px 0 0 0;
    color: var(--atlas-text-secondary, #646970);
    font-size: 13px;
    line-height: 1.3;
}

.atlas-action-similarity {
    color: #6c757d;
    font-size: 11px;
}

/* Goals Saved Notice */
.atlas-goals-saved-notice {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    text-align: center;
}

.atlas-goals-saved-notice h4 {
    margin: 0 0 8px 0;
    color: #155724;
    font-size: 18px;
    font-weight: 600;
}

.atlas-goals-saved-notice p {
    margin: 0;
    color: #155724;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

/* Analysis Summary */
.atlas-analysis-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.atlas-analysis-summary h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--atlas-text-primary, #1d2327);
}

.atlas-coach-message {
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    padding: 16px;
    margin: 0 0 8px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--atlas-text-primary, #1d2327);
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

.atlas-summary-stats {
    background: #e7f3ff;
    padding: 12px;
    border-radius: 6px;
    margin-top: 6px;
}

.atlas-summary-stats p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #495057;
}

.atlas-summary-stats p:last-child {
    margin-bottom: 0;
}

.atlas-analysis-summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.atlas-analysis-summary li {
    padding: 4px 0;
    color: #495057;
    font-size: 14px;
}

.atlas-analysis-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.atlas-analysis-note h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #856404;
}

.atlas-note-content p {
    margin: 0 0 8px 0;
    color: #856404;
    font-size: 14px;
}

.atlas-note-content p:last-child {
    margin-bottom: 0;
    font-style: italic;
    font-size: 13px;
}

.atlas-analysis-summary li:before {
    content: "✓ ";
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
}

/* Retake Assessment Confirmation Modal */
.atlas-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atlas-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.atlas-modal-content {
    position: relative;
    background: var(--atlas-card-bg, #ffffff);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: atlasModalSlideIn 0.3s ease-out;
}

@keyframes atlasModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.atlas-modal-header {
    padding: 24px 24px 16px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.atlas-modal-header h3 {
    margin: 0;
    color: var(--atlas-text-primary, #1d2327);
    font-size: 20px;
    font-weight: 600;
}

.atlas-modal-close {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.atlas-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.atlas-modal-body {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.atlas-retake-warning {
    text-align: center;
}

.atlas-warning-icon {
    font-size: 48px;
    color: #2563eb;
    margin-bottom: 16px;
}

.atlas-retake-warning h4 {
    color: #dc2626;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.atlas-retake-warning p {
    color: #374151;
    font-size: 16px;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.atlas-deletion-list {
    text-align: left;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 16px;
    margin: 0 0 20px 0;
    list-style: none;
}

.atlas-deletion-list li {
    color: #dc2626;
    font-size: 14px;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

.atlas-deletion-list li i {
    color: #dc2626;
    margin-right: 8px;
    font-size: 12px;
}

.atlas-warning-footer {
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px;
    color: #92400e;
    font-size: 14px;
}

.atlas-modal-footer {
    padding: 16px 24px 24px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.atlas-btn-danger {
    background: var(--atlas-danger, #dc2626);
    color: var(--atlas-text-on-danger, #ffffff);
    border: 1px solid var(--atlas-danger, #dc2626);
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.atlas-btn-danger:hover {
    background: var(--atlas-danger-dark, #b91c1c);
    border-color: var(--atlas-danger-dark, #b91c1c);
    color: var(--atlas-text-on-danger, #ffffff);
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.atlas-btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .atlas-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .atlas-modal-header,
    .atlas-modal-body,
    .atlas-modal-footer {
        padding: 16px;
    }
    
    .atlas-modal-footer {
        flex-direction: column;
    }
    
    .atlas-modal-footer .atlas-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Wheel of Life Summary Table */
.atlas-score-summary {
    margin: 30px 0;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--atlas-border, #e1e5e9);
}

.atlas-score-summary-header {
    text-align: center;
    margin-bottom: 20px;
}

.atlas-score-summary-header h3 {
    color: var(--atlas-text-primary, #1d2327);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.atlas-score-table-container {
    overflow-x: auto;
}

.atlas-score-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.atlas-score-table thead {
    background: #f8fafc;
    color: var(--atlas-text-primary, #1d2327);
}

.atlas-score-table th,
.atlas-score-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e1e5e9;
}

.atlas-score-table th {
    font-weight: 600;
    font-size: 14px;
}

.atlas-score-table tbody tr:hover {
    background-color: #f8fafc;
}

.atlas-score-table .atlas-category-name {
    font-weight: 500;
    color: var(--atlas-text-primary, #1d2327);
}

.atlas-score-table .atlas-score-value {
    font-weight: 600;
    color: #3b82f6;
    font-family: monospace;
}

.atlas-score-table .atlas-percentage {
    font-weight: 600;
    color: #059669;
    font-family: monospace;
}

/* Actions column and small button */
.atlas-score-table .atlas-actions {
    text-align: center;
}

.atlas-btn-small {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.2;
}

.atlas-success-message {
    background: var(--atlas-success, #10b981);
    color: var(--atlas-text-on-success, #ffffff);
    padding: 12px 16px;
    border-radius: 6px;
    margin: 12px 0;
    text-align: center;
}

/* Responsive design for score table */
@media (max-width: 768px) {
    .atlas-score-summary {
        padding: 16px;
        margin: 20px 0;
    }
    
    .atlas-score-table th,
    .atlas-score-table td {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .atlas-score-summary-header h3 {
        font-size: 18px;
    }
}

/* Recurring Fields Styling - Matches Ongoing Tab */

/* Weekday Selector */
.atlas-weekday-selector {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.atlas-day-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--atlas-card-bg, #ffffff);
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    font-weight: 600;
    min-height: 42px;
}

.atlas-day-btn input[type="checkbox"] {
    display: none;
}

.atlas-day-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.atlas-day-btn input[type="checkbox"]:checked + span {
    color: white;
}

.atlas-day-btn:has(input:checked) {
    background: var(--atlas-primary, #3b82f6);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
}

/* Monthly Selector */
.atlas-monthly-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atlas-radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-wrap: wrap;
}

.atlas-radio-option:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.atlas-radio-option input[type="radio"] {
    margin: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.atlas-radio-option input[type="radio"]:checked ~ * {
    color: #3b82f6;
    font-weight: 600;
}

.atlas-radio-option:has(input:checked) {
    background: #eff6ff;
    border-color: #3b82f6;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

.atlas-day-input,
.atlas-date-input {
    width: auto;
    min-width: 60px;
    margin: 0 4px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
}

.atlas-day-input {
    width: 60px;
    text-align: center;
}

/* End Options */
.atlas-end-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atlas-form-group > label + .atlas-end-options {
    margin-top: 12px;
}

/* Recurrence Options */
.atlas-recurrence-options {
    margin-top: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
}

/* Grid spacing for reminder fields */
.atlas-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Form Group Spacing */
.atlas-form-group {
    margin-top: 20px;
}

/* Toast notifications */
#atlas-toast-container {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.atlas-toast {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 14px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.atlas-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.atlas-toast-info { background: var(--atlas-primary, #3b82f6); }
.atlas-toast-success { background: #10b981; }
.atlas-toast-error { background: #ef4444; }