body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #e8ecff, #f5f7ff);
}

/* OUTER BOX */
.container {
    max-width: 950px;
    margin: auto;
    padding: 80px;
}

/* HEADING */
h1 {
    text-align: center;
    color: #1e3a8a;
    margin-bottom: 25px; /* ✅ space added */
}

/* OUTER 3D BOX */
.outer-box {
    background: #f8fafc;
    padding: 15px;
    border-radius: 20px;

    box-shadow:
        10px 10px 25px rgba(0,0,0,0.08),
        -8px -8px 20px rgba(255,255,255,0.9);
}

/* GRID */
.main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* CARD */
.card {
    padding: 18px;
    border-radius: 18px;
    background: #eef2ff;

    box-shadow:
        inset 3px 3px 10px rgba(0,0,0,0.05),
        inset -3px -3px 10px rgba(255,255,255,0.8);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* INPUT SECTION */
.calc label {
    font-size: 16px;
    font-weight: 600; /* ✅ bold */
    margin-top: 10px;
}

/* FIX INPUT ALIGNMENT ISSUE */
.calc input,
.calc select {
    width: 100%;
    box-sizing: border-box;  /* ✅ IMPORTANT FIX */
    padding: 12px;
    border-radius: 10px;
    border: none;
    margin-top: 6px;
    font-size: 16px; /* ✅ bigger font */

    box-shadow: inset 3px 3px 8px rgba(0,0,0,0.08),
                inset -3px -3px 8px rgba(255,255,255,0.8);
}

/* BUTTON */
.calc button {
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* RESULT FULL HEIGHT DISTRIBUTION */
.result {
    display: flex;
    flex-direction: column;
}

/* EACH ROW FULL HEIGHT */
.result .row {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}

/* COLOR CODING */
.row:nth-child(1) { background: #8FDAFA; } /* Base */
.row:nth-child(2) { background: #8FDAFA; } /* GST */
.row:nth-child(3) { background: #fde68a; } /* Total */
.row:nth-child(4) { background: #e9d5ff; } /* CGST */
.row:nth-child(5) { background: #e9d5ff; } /* SGST */

/* BIG RESULT FONT */
.result b {
    font-size: 22px;
    font-weight: 600;
}

/* TOTAL EXTRA BIG */
.total b {
    font-size: 26px;
}

/* COPY BUTTON */
.result button {
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: white;
    cursor: pointer;
    font-size: 14px;
}

/* ADS */
.ad-bottom {
    margin-top: 15px;
    text-align: center;
}

/* RESPONSIVE */
@media(max-width:700px){
    .main {
        grid-template-columns: 1fr;
    }
}
.footer {
    text-align: center;
    font-size: 13px;
    color: #555;
    margin-top: 20px;
    padding: 12px;
}

.footer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.logo {
    height: 60px;
    width: auto;
}

h1 {
    margin: 0;
    font-size: 24px;
    color: #1e3a8a;
}
.powered {
    margin-top: 12px;
    font-size: 11px;
    text-align: right;
    color: #666;
}

.powered a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.powered a:hover {
    text-decoration: underline;
}
/* HEADER TOP (LOGO ABOVE TITLE) */
.header-top {
    text-align: center;
    margin-bottom: 20px;
}

.logo-top {
    height: 60px;
    width: auto;
    margin-bottom: 8px;
}

.header-top h1 {
    margin: 0;
    font-size: 24px;
    color: #1e3a8a;
}