/* Santo Rosario Plugin Styles */
.santo-rosario-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.santo-rosario-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 0;
    text-align: center;
    margin-bottom: 2rem;
    border-radius: 12px 12px 0 0;
}

.santo-rosario-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.santo-rosario-cross-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    color: var(--santo-rosario-primary, #2563eb);
}

.santo-rosario-header h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
}

.santo-rosario-header p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Cards */
.santo-rosario-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.santo-rosario-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.santo-rosario-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.santo-rosario-card-content {
    padding: 1.5rem;
}

/* Mystery Selector */
.santo-rosario-mystery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.santo-rosario-mystery-card {
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.santo-rosario-mystery-card:hover {
    border-color: #9ca3af;
}

.santo-rosario-mystery-card.active {
    border-color: var(--santo-rosario-primary, #2563eb);
    background: var(--santo-rosario-primary-light, #eff6ff);
}

.santo-rosario-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.santo-rosario-badge-gozosos { background: #fef3c7; color: #92400e; }
.santo-rosario-badge-luminosos { background: #dbeafe; color: #1e40af; }
.santo-rosario-badge-dolorosos { background: #e9d5ff; color: #7c2d12; }
.santo-rosario-badge-gloriosos { background: #d1fae5; color: #065f46; }

.santo-rosario-mystery-card h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Mystery Progress Indicators */
.santo-rosario-mystery-progress {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

.santo-rosario-mystery-progress h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
}

.santo-rosario-mystery-indicators {
    display: flex;
    gap: 0.5rem;
}

.santo-rosario-mystery-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: white;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.santo-rosario-mystery-indicator.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.santo-rosario-mystery-indicator.current {
    border-color: var(--santo-rosario-primary, #2563eb);
    background: var(--santo-rosario-primary-light, #eff6ff);
    color: var(--santo-rosario-primary, #2563eb);
}

/* Progress */
.santo-rosario-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.santo-rosario-progress-bar {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.santo-rosario-progress-fill {
    height: 100%;
    background: var(--santo-rosario-primary, #2563eb);
    transition: width 0.3s ease;
}

/* Prayer Content */
.santo-rosario-prayer-content {
    text-align: center;
}

.santo-rosario-prayer-text {
    background: #f9fafb;
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #1f2937;
}

.santo-rosario-mystery-content {
    background: var(--santo-rosario-primary-light, #eff6ff);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.santo-rosario-mystery-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--santo-rosario-primary-dark, #1e40af);
    margin-bottom: 1rem;
}

.santo-rosario-mystery-note {
    font-size: 0.875rem;
    color: var(--santo-rosario-primary-dark, #1e40af);
}

/* Letanías especiales */
.santo-rosario-letanias-content {
    background: #fef7cd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
}

.santo-rosario-letanias-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1rem;
    text-align: center;
}

.santo-rosario-letanias-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #1f2937;
}

.santo-rosario-letanias-response {
    font-style: italic;
    color: #6b7280;
    margin-left: 1rem;
}

/* Controls */
.santo-rosario-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.santo-rosario-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    text-decoration: none;
}

.santo-rosario-btn-primary {
    background: var(--santo-rosario-primary, #2563eb);
    color: white;
}

.santo-rosario-btn-primary:hover {
    background: var(--santo-rosario-primary-dark, #1d4ed8);
}

.santo-rosario-btn-outline {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.santo-rosario-btn-outline:hover {
    background: #f9fafb;
}

.santo-rosario-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Icons */
.santo-rosario-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
}

/* Temas de Color */
.santo-rosario-tema-verde {
    --santo-rosario-primary: #059669;
    --santo-rosario-primary-light: #d1fae5;
    --santo-rosario-primary-dark: #047857;
}

.santo-rosario-tema-morado {
    --santo-rosario-primary: #7c3aed;
    --santo-rosario-primary-light: #e9d5ff;
    --santo-rosario-primary-dark: #5b21b6;
}

.santo-rosario-tema-dorado {
    --santo-rosario-primary: #d97706;
    --santo-rosario-primary-light: #fef3c7;
    --santo-rosario-primary-dark: #92400e;
}

/* Responsive */
@media (max-width: 768px) {
    .santo-rosario-header h1 {
        font-size: 1.75rem;
    }
    
    .santo-rosario-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .santo-rosario-btn {
        justify-content: center;
    }
    
    .santo-rosario-mystery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .santo-rosario-mystery-grid {
        grid-template-columns: 1fr;
    }
    
    .santo-rosario-container {
        padding: 0 10px;
    }
}

