/* Age Calculator Plugin Styles */
.age-calculator-wrapper {
    margin: 20px 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.age-calculator-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.age-calculator-header {
    text-align: center;
    color: white;
    margin-bottom: 30px;
}

.age-calculator-header i {
    font-size: 48px;
    margin-bottom: 10px;
}

.age-calculator-header h2 {
    font-size: 32px;
    margin: 10px 0;
    font-weight: 600;
}

.age-calculator-header p {
    font-size: 16px;
    opacity: 0.9;
}

/* Input Section */
.age-calculator-input-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.input-group label i {
    margin-right: 8px;
    color: #667eea;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn {
    flex: 1;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Result Section */
.age-calculator-result {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-header {
    text-align: center;
    color: white;
    margin-bottom: 25px;
}

.result-header i {
    font-size: 32px;
    margin-bottom: 5px;
}

.result-header h3 {
    font-size: 24px;
    margin: 0;
}

/* Result Grid */
.result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.result-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.result-card.primary .result-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
.result-card.info .result-icon { background: linear-gradient(135deg, #3498db, #2980b9); }
.result-card.success .result-icon { background: linear-gradient(135deg, #27ae60, #229954); }
.result-card.warning .result-icon { background: linear-gradient(135deg, #f39c12, #e67e22); }
.result-card.danger .result-icon { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.result-card.purple .result-icon { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.result-card.teal .result-icon { background: linear-gradient(135deg, #1abc9c, #16a085); }
.result-card.birthday .result-icon { background: linear-gradient(135deg, #e91e63, #c2185b); }
.result-card.week .result-icon { background: linear-gradient(135deg, #00bcd4, #0097a7); }
.result-card.zodiac .result-icon { background: linear-gradient(135deg, #ff9800, #f57c00); }

.result-details {
    flex: 1;
}

.result-label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.result-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .age-calculator-container {
        padding: 20px;
    }
    
    .age-calculator-header h2 {
        font-size: 24px;
    }
    
    .age-calculator-input-section {
        padding: 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        padding: 15px;
    }
    
    .result-value {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .age-calculator-container {
        padding: 15px;
    }
    
    .result-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .result-value {
        font-size: 16px;
    }
}

/* Loading Animation */
.result-card {
    animation-fill-mode: both;
}

.result-card:nth-child(1) { animation-delay: 0.1s; }
.result-card:nth-child(2) { animation-delay: 0.15s; }
.result-card:nth-child(3) { animation-delay: 0.2s; }
.result-card:nth-child(4) { animation-delay: 0.25s; }
.result-card:nth-child(5) { animation-delay: 0.3s; }
.result-card:nth-child(6) { animation-delay: 0.35s; }
.result-card:nth-child(7) { animation-delay: 0.4s; }
.result-card:nth-child(8) { animation-delay: 0.45s; }
.result-card:nth-child(9) { animation-delay: 0.5s; }
.result-card:nth-child(10) { animation-delay: 0.55s; }