/* Horoscope Plugin Frontend Styles */

.horoscope-container {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.horoscope-header {
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.horoscope-sign {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-transform: capitalize;
}

.horoscope-date {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 5px;
}

.horoscope-period {
    color: #34495e;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
}

.horoscope-content {
    line-height: 1.6;
    margin-bottom: 15px;
}

.horoscope-text {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 0;
}

.horoscope-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    text-align: right;
}

.horoscope-updated {
    color: #95a5a6;
    font-size: 12px;
}

.horoscope-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 6px;
    color: #c53030;
    padding: 15px;
}

.horoscope-error strong {
    color: #9b2c2c;
}

/* Zodiac Sign Specific Styling */
.horoscope-aries .horoscope-sign {
    color: #e74c3c;
}

.horoscope-taurus .horoscope-sign {
    color: #27ae60;
}

.horoscope-gemini .horoscope-sign {
    color: #f39c12;
}

.horoscope-cancer .horoscope-sign {
    color: #3498db;
}

.horoscope-leo .horoscope-sign {
    color: #e67e22;
}

.horoscope-virgo .horoscope-sign {
    color: #2ecc71;
}

.horoscope-libra .horoscope-sign {
    color: #9b59b6;
}

.horoscope-scorpio .horoscope-sign {
    color: #8e44ad;
}

.horoscope-sagittarius .horoscope-sign {
    color: #e74c3c;
}

.horoscope-capricorn .horoscope-sign {
    color: #34495e;
}

.horoscope-aquarius .horoscope-sign {
    color: #1abc9c;
}

.horoscope-pisces .horoscope-sign {
    color: #3498db;
}

/* Period Specific Styling */
.horoscope-day {
    border-left: 4px solid #3498db;
}

.horoscope-week {
    border-left: 4px solid #2ecc71;
}

.horoscope-month {
    border-left: 4px solid #f39c12;
}

.horoscope-year {
    border-left: 4px solid #9b59b6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .horoscope-container {
        margin: 15px 0;
        padding: 15px;
    }
    
    .horoscope-sign {
        font-size: 20px;
    }
    
    .horoscope-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .horoscope-container {
        margin: 10px 0;
        padding: 12px;
    }
    
    .horoscope-sign {
        font-size: 18px;
    }
    
    .horoscope-period {
        font-size: 14px;
    }
    
    .horoscope-text {
        font-size: 13px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .horoscope-container {
        background: #2c3e50;
        border-color: #34495e;
        color: #ecf0f1;
    }
    
    .horoscope-header {
        border-bottom-color: #34495e;
    }
    
    .horoscope-sign {
        color: #ecf0f1;
    }
    
    .horoscope-date {
        color: #bdc3c7;
    }
    
    .horoscope-period {
        color: #ecf0f1;
    }
    
    .horoscope-text {
        color: #ecf0f1;
    }
    
    .horoscope-footer {
        border-top-color: #34495e;
    }
    
    .horoscope-updated {
        color: #95a5a6;
    }
}

/* Animation effects */
.horoscope-container {
    transition: all 0.3s ease;
}

.horoscope-container:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Loading state */
.horoscope-loading {
    opacity: 0.7;
    pointer-events: none;
}

.horoscope-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #3498db;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
