﻿/* Layout with sidebars (reuse pattern from sleep-calculator) */
.page-layout {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}

/* SIDEBARS */
.sidebar-left,
.sidebar-right {
    width: 200px;
    background: #eefefe;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #0d8f8f33;
    height: fit-content;
    font-size: 14px;
}

    .sidebar-left h4,
    .sidebar-right h4 {
        color: #0d8f8f;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .sidebar-left ul,
    .sidebar-right ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .sidebar-left li,
    .sidebar-right li {
        margin-bottom: 8px;
    }

    .sidebar-left a,
    .sidebar-right a {
        text-decoration: none;
        color: #0a3d62;
    }

        .sidebar-left a:hover,
        .sidebar-right a:hover {
            text-decoration: underline;
        }

/* CENTRAL WRAPPER */
.pl-wrapper {
    width: 650px;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #064b4b;
}

.page-subtitle {
    font-size: 15px;
    color: #0d8f8f;
    margin-bottom: 18px;
}

/* CALCULATOR CARD */
.calc-card.pl-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 2px solid #0d8f8f33;
}

/* INPUTS */
.calc-input {
    border-radius: 8px;
}

.hint {
    font-size: 11px;
    color: #6c757d;
    font-weight: 400;
}

/* BUTTON */
.btn-calc {
    background: #0d8f8f;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    padding: 10px 16px;
    letter-spacing: 0.3px;
}

    .btn-calc:hover {
        background: #0b7d7d;
        color: #fff;
    }

/* ERROR BOX */
.error-box {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #ffeaea;
    border-left: 4px solid #e57373;
    color: #b71c1c;
    font-size: 13px;
}

/* RESULT BOX */
.result-box {
    background: #eefefe;
    border-radius: 12px;
    padding: 18px;
    border-left: 5px solid #0d8f8f;
}

.result-title {
    font-size: 18px;
    font-weight: 700;
    color: #064b4b;
    margin-bottom: 12px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
}

    .result-row span {
        color: #355c7d;
    }

    .result-row strong {
        color: #064b4b;
    }

    .result-row.highlight strong {
        font-size: 16px;
    }

/* Profit / Loss coloring */
.profit {
    color: #1b5e20 !important;
}

.loss {
    color: #c62828 !important;
}

.summary-text {
    font-size: 13px;
    color: #555;
}

/* SEO content styling (reuse style from percentage page) */
.seo-content {
    font-size: 14px;
    color: #333;
}

.seo-heading {
    font-size: 20px;
    font-weight: 600;
    color: #064b4b;
    margin-bottom: 10px;
}

.seo-box {
    background: #f7fbfc;
    border-radius: 8px;
    padding: 10px 14px;
    border: 1px solid #d9e9ef;
    font-family: Consolas, monospace;
    font-size: 13px;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: #064b4b;
    margin-top: 15px;
}
     body {
            background: #eef4f7;
            font-family: 'Segoe UI', sans-serif;
        }

        /* ============================== */
        /* HEADER / NAVIGATION */
        /* ============================== */
        .topbar {
            background: #0d8f8f;
            padding: 12px 25px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }

        .navbar-brand {
            color: white !important;
            font-size: 22px;
            font-weight: 700;
        }

        .nav-link {
            color: white !important;
            font-weight: 500;
            margin-left: 15px;
        }

        .dropdown-menu {
            border-radius: 10px;
            border-color: #e0eeee;
        }

        /* ============================== */
        /* HERO SECTION */
        /* ============================== */
        .hero {
            padding: 80px 20px;
            text-align: center;
            background: linear-gradient(135deg, #0d8f8f, #0aa7a7);
            color: white;
        }

        .hero-title {
            font-size: 40px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .hero-subtitle {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 30px;
        }

        .start-btn {
            background: #ffffff;
            color: #0d8f8f;
            font-weight: 600;
            padding: 12px 30px;
            border-radius: 6px;
            border: none;
        }

            .start-btn:hover {
                background: #e8ffff;
                color: #0c7a7a;
            }

        /* COUNTRY CARD */
        .country-box {
            background: white;
            border-radius: 14px;
            padding: 25px;
            box-shadow: 0 6px 18px rgba(0,0,0,0.07);
            transition: 0.2s;
            cursor: pointer;
        }

            .country-box:hover {
                transform: translateY(-5px);
                box-shadow: 0 12px 25px rgba(0,0,0,0.12);
            }

        .flag-img {
            width: 70px;
            height: 70px;
            border-radius: 8px;
            object-fit: cover;
        }

        .footer {
            text-align: center;
            padding: 20px;
            margin-top: 40px;
            font-size: 14px;
            color: #555;
        }