/* Age Calculator Styles */
.sth-age-calculator {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.sth-age-input-section {
    margin-bottom: 30px;
}

.sth-age-input-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
    text-align: center;
}

.sth-age-input-group {
    margin-bottom: 25px;
}

.sth-age-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 16px;
}

.sth-age-input-field {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.sth-age-input-field:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.sth-age-hint {
    font-size: 14px;
    color: #6c757d;
    margin-top: 6px;
    font-style: italic;
}

.sth-age-calculate-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sth-age-calculate-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.sth-age-result {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border-left: 5px solid #007bff;
}

.sth-age-result-header h3 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
    font-size: 22px;
}

.sth-age-basic-info {
    text-align: center;
    margin-bottom: 25px;
}

.sth-age-value {
    font-size: 28px;
    font-weight: bold;
    color: #007bff;
    margin: 15px 0;
}

.sth-age-number {
    color: #dc3545;
}

.sth-age-detailed-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.sth-age-breakdown-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sth-age-breakdown-label {
    display: block;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

.sth-age-breakdown-value {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #007bff;
}

.sth-age-additional-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.sth-age-info-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sth-age-info-label {
    display: block;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

.sth-age-info-value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #28a745;
}

.sth-zodiac-traits {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

.sth-age-milestones {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sth-age-milestones h4 {
    margin: 0 0 15px 0;
    color: #333;
    text-align: center;
}

.sth-milestone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin: 8px 0;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

.sth-milestone-age {
    font-weight: bold;
    color: #007bff;
}

.sth-milestone-desc {
    color: #666;
}

.sth-milestone-date {
    font-size: 14px;
    color: #28a745;
}

.sth-milestone-significance {
    font-size: 12px;
    color: #6c757d;
    margin: 2px 0;
    font-style: italic;
}

.sth-age-legal-purposes {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.sth-age-legal-purposes h4 {
    margin: 0 0 20px 0;
    color: #333;
    text-align: center;
    font-size: 20px;
}

.sth-legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.sth-legal-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.sth-legal-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sth-legal-icon {
    font-size: 24px;
    margin-right: 12px;
    flex-shrink: 0;
}

.sth-legal-content h5 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.sth-legal-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sth-age-calculator {
        padding: 20px;
        margin: 10px;
    }
    
    .sth-age-value {
        font-size: 22px;
    }
    
    .sth-age-detailed-breakdown,
    .sth-age-additional-info {
        grid-template-columns: 1fr;
    }
    
    .sth-milestone-item {
        flex-direction: column;
        text-align: center;
    }
    
    .sth-milestone-date {
        margin-top: 5px;
    }
    
    .sth-legal-grid {
        grid-template-columns: 1fr;
    }
    
    .sth-legal-item {
        flex-direction: column;
        text-align: center;
    }
    
    .sth-legal-icon {
        margin-right: 0;
        margin-bottom: 8px;
    }
}
