/* Weekly Horoscope Plugin - Frontend Styles */

.wh-horoscope-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.wh-week-info {
    text-align: center;
    margin-bottom: 2rem;
}

.wh-week-info h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.wh-week-date {
    color: #7f8c8d;
    font-size: 1rem;
}

/* Tab Layout Styles */
.wh-tabs {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.wh-tab-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0;
    background: #f8f9fa;
    padding: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.wh-tab-button {
    background: transparent;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.wh-tab-button:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.wh-tab-button.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wh-tab-icon {
    font-size: 1.5rem;
}

.wh-tab-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.wh-tab-content {
    padding: 2rem;
}

.wh-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wh-tab-pane.active {
    display: block;
}

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

/* Sign Header Styles */
.wh-sign-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.wh-sign-header .wh-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wh-sign-header h3 {
    font-size: 1.75rem;
    color: #2c3e50;
    margin: 0.5rem 0;
    font-weight: 700;
}

.wh-dates {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-style: italic;
}

/* Horoscope Text Styles */
.wh-horoscope-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #34495e;
    text-align: justify;
}

.wh-horoscope-text p {
    margin-bottom: 1rem;
}

/* Grid Layout Styles */
.wh-grid-layout .wh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.wh-grid-item {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.wh-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Single Horoscope Styles */
.wh-single-horoscope {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wh-horoscope-container {
        padding: 1rem;
    }
    
    .wh-week-info h2 {
        font-size: 1.5rem;
    }
    
    .wh-tab-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        padding: 0.75rem;
    }
    
    .wh-tab-button {
        padding: 0.5rem;
    }
    
    .wh-tab-icon {
        font-size: 1.25rem;
    }
    
    .wh-tab-name {
        font-size: 0.7rem;
    }
    
    .wh-tab-content {
        padding: 1.5rem;
    }
    
    .wh-grid-layout .wh-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wh-sign-header .wh-icon {
        font-size: 2.5rem;
    }
    
    .wh-sign-header h3 {
        font-size: 1.5rem;
    }
    
    .wh-horoscope-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .wh-tab-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wh-tab-name {
        font-size: 0.65rem;
    }
}

/* Accessibility */
.wh-tab-button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.wh-tab-button:focus:not(:focus-visible) {
    outline: none;
}
