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

:root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #3f37c9;
            --accent: #4895ef;
            --light: #f8f9fa;
            --dark: #212529;
            --success: #4cc9f0;
            --danger: #f72585;
            --warning: #f8961e;
            --info: #4895ef;
            --gray: #6c757d;
            --light-gray: #e9ecef;
            --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        }

        * {
            font-family: 'Manrope', 'Poppins', sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            padding: 20px 0;
        }

        .calculator-container {
            max-width: 1200px;
            margin: 0 auto;
        }
  a {
    text-decoration: none;
}
        .card {
            border: none;
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: var(--hover-shadow);
        }

        .card-header {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border-radius: 16px 16px 0 0 !important;
            padding: 20px;
            text-align: center;
        }

        /* GST Calculator Specific Styles */
        .calculator-body {
            display: flex;
            flex-wrap: wrap;
        }

        .input-section {
            flex: 1;
            min-width: 300px;
            padding: 30px;
            border-right: 1px solid var(--light-gray);
        }

        .result-section {
            flex: 1;
            min-width: 300px;
            padding: 30px;
            background-color: #f9fafc;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
            font-size: 14px;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: all 0.3s;
            background-color: white;
        }

        .form-control:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
            outline: none;
        }

        .radio-group {
            display: flex;
            gap: 15px;
            margin-top: 10px;
        }

        .radio-option {
            display: flex;
            align-items: center;
            cursor: pointer;
        }

        .radio-option input {
            margin-right: 8px;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-size: 16px;
        }

        .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background-color: var(--primary-dark);
            transform: translateY(-2px);
        }

        .btn-block {
            display: block;
            width: 100%;
        }

        .result-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .result-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .result-title i {
            color: var(--primary);
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px dashed #eee;
        }

        .result-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .result-label {
            color: var(--gray);
            font-size: 14px;
        }

        .result-value {
            font-weight: 600;
            color: var(--dark);
        }

        .total-amount {
            font-size: 24px;
            color: var(--primary);
            font-weight: 700;
        }

        .gst-rate-badge {
            display: inline-block;
            padding: 5px 10px;
            background-color: var(--light);
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            color: var(--primary);
            margin-left: 10px;
        }

        .history-section {
            margin-top: 30px;
        }

        .history-item {
            background: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
        }

        .history-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .history-details {
            flex: 1;
        }

        .history-amount {
            font-weight: 600;
            color: var(--primary);
        }

        .history-delete {
            color: var(--danger);
            cursor: pointer;
            margin-left: 15px;
            opacity: 0.7;
            transition: all 0.3s;
        }

        .history-delete:hover {
            opacity: 1;
        }

        .tabs {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .tab {
            padding: 10px 20px;
            cursor: pointer;
            font-weight: 500;
            color: var(--gray);
            position: relative;
        }

        .tab.active {
            color: var(--primary);
        }

        .tab.active:after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary);
            border-radius: 3px 3px 0 0;
        }

        .tab-content {
            display: none;
        }

        .tab-content.active {
            display: block;
        }

        /* Quick Tools Section */
        .quick-tools-section {
            margin-bottom: 25px;
        }

        .quick-tools-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 6px;
        }

        .quick-tool-card {
            background: white;
            border-radius: 12px;
            padding: 12px;
            text-align: center;
            transition: all 0.3s ease;
            box-shadow: var(--card-shadow);
            border: 1px solid #eaeaea;
            cursor: pointer;
        }

        .quick-tool-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--hover-shadow);
            border-color: var(--primary);
        }

        .quick-tool-icon {
            font-size: 1.5rem;
            margin-bottom: 10px;
            color: var(--primary);
        }

        .quick-tool-card h6 {
            font-size: 0.9rem;
            margin-bottom: 5px;
            color: var(--dark);
        }

        .quick-tool-card p {
            color: #6c757d;
            font-size: 0.8rem;
            margin: 0;
        }

        .info-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            height: 100%;
        }

        .info-card h5 {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 15px;
        }

        .info-card ul {
            padding-left: 20px;
        }

        .info-card li {
            margin-bottom: 10px;
            color: #495057;
        }

        /* Information Section */
        .info-section {
            margin: 40px 0;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(380px, 1fr));
            gap: 25px;
        }

        .info-card-detail {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: var(--card-shadow);
        }

        .info-card-detail h3 {
            color: var(--primary);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eaeaea;
        }

        .info-card-detail ul {
            padding-left: 20px;
        }

        .info-card-detail li {
            margin-bottom: 12px;
            color: #495057;
            line-height: 1.5;
        }

        .highlight {
            background-color: rgba(67, 97, 238, 0.1);
            padding: 15px;
            border-radius: 10px;
            border-left: 4px solid var(--primary);
            margin: 20px 0;
        }

        .section-title {
            color: var(--primary);
            margin-bottom: 25px;
            padding-bottom: 10px;
            border-bottom: 2px solid #eaeaea;
        }

        @media (max-width: 768px) {
            .calculator-body {
                flex-direction: column;
            }
            
            .input-section {
                border-right: none;
                border-bottom: 1px solid var(--light-gray);
            }
            
            .quick-tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .info-grid {
                grid-template-columns: 1fr;
            }
        }
