/* =========================================================
   age-calculator.css
   EMARKET24 / Shuvam Infotech
========================================================= */

:root {
            --primary: #6c63ff;
            --secondary: #4a44b5;
            --accent: #ff6584;
            --light: #f8f9fa;
            --dark: #343a40;
            --success: #28a745;
            --info: #17a2b8;
            --warning: #ffc107;
            --danger: #dc3545;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .calculator-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .section-title {
            font-weight: 600;
            color: var(--primary);
            margin: 20px 0 15px;
            padding-bottom: 8px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .btn-calculate {
            background: linear-gradient(to right, var(--primary), var(--secondary));
            color: white;
            border: none;
            border-radius: 50px;
            padding: 12px 40px;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 20px;
        }
        
        .btn-calculate:hover {
            transform: translateY(-3px);
            box-shadow: 0 7px 15px rgba(108, 99, 255, 0.3);
        }
        
        .result-box {
            background: linear-gradient(135deg, #f8f9ff, #eef1ff);
            border-radius: 15px;
            padding: 25px;
            margin-top: 30px;
            border-left: 5px solid var(--primary);
        }
        
        .tools-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .tool-card {
            background: white;
            border-radius: 12px;
            padding: 15px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            cursor: pointer;
        }
        
        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
            border: 1px solid var(--primary);
        }
        
        .tool-icon {
            font-size: 24px;
            color: var(--primary);
            margin-bottom: 10px;
        }
        
        .tool-name {
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 5px;
        }
        
        .tool-desc {
            font-size: 12px;
            color: #6c757d;
        }
        
        .info-card {
            background: linear-gradient(135deg, #fdfbfb, #ebedee);
            border: none;
            border-radius: 20px;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 24px;
        }
        
        .feature-card {
            text-align: center;
            padding: 25px 15px;
            border-radius: 15px;
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            height: 100%;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }
        
        .step-number {
            display: inline-block;
            width: 30px;
            height: 30px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 30px;
            margin-right: 10px;
            font-weight: bold;
        }
        
        .nav-tabs .nav-link {
            border: none;
            color: var(--dark);
            font-weight: 500;
            padding: 12px 20px;
        }
        
        .nav-tabs .nav-link.active {
            background: transparent;
            border-bottom: 3px solid var(--primary);
            color: var(--primary);
        }
        
        .age-display {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            text-align: center;
            margin: 20px 0;
        }
        
        .age-breakdown {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 15px;
        }
        
        .age-unit {
            text-align: center;
            padding: 10px 15px;
            background: #f8f9ff;
            border-radius: 10px;
            min-width: 80px;
        }
        
        .age-value {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        .age-label {
            font-size: 0.9rem;
            color: #6c757d;
        }
        
        .highlight {
            background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
        }
        
        @media (max-width: 768px) {
            .tools-grid {
                grid-template-columns: 1fr;
            }
            
            .age-breakdown {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
        }
