 :root {
            --primary-color: #1565ff;
            --primary-dark: #0d47c9;
            --light-bg: #f5f8ff;
            --card-bg: #ffffff;
            --text-main: #1f2937;
            --text-muted: #6b7280;
            --border-color: #e5e7eb;
        }

        body {
            background: linear-gradient(to bottom, #eef4ff, #f8fbff);
            font-family: Tahoma, Arial, sans-serif;
            color: var(--text-main);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        .navbar-brand {
            padding-top: 0;
            padding-bottom: 0;
            display: flex;
            align-items: center;
        }


        .navbar-custom {
            background-color: #fff;
            border-bottom: 1px solid var(--border-color);
            padding-top: 0.4rem;
            padding-bottom: 0.4rem;
        }

        .brand-title {
            color: var(--primary-color);
            font-weight: 700;
            font-size: 1.3rem;
        }

       .page-wrapper {
        flex: 1;
        max-width: 900px;
        width: 100%;
        margin: 30px auto;
        padding: 0 15px;
    }

        .app-card {
            background-color: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            box-shadow: 0 8px 24px rgba(21, 101, 255, 0.08);
        }

        .section-title {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 18px;
            color: var(--primary-color);
        }
        .btn-primary-custom {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            color: #fff;
            border-radius: 12px;
            padding: 10px 18px;
            font-weight: 600;
        }

        .btn-primary-custom:hover {
            background-color: var(--primary-dark);
            border-color: var(--primary-dark);
        }

        .btn-outline-custom {
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            border-radius: 12px;
            padding: 10px 18px;
            font-weight: 600;
            background: #fff;
        }

        .btn-outline-custom:hover {
            background-color: var(--primary-color);
            color: #fff;
        }
         /* language switcher */
        .language-switcher {
            background: #f8fbff;
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 4px;
        }

        .language-switcher .btn {
            border-radius: 10px !important;
            padding: 6px 12px;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .form-control,
        .form-select {
            border-radius: 12px;
            padding: 10px 12px;
        }

        .empty-box {
            padding: 40px 20px;
            text-align: center;
            color: var(--text-muted);
        }
        /** footer style **/
.clinic-footer {
    margin-top: 60px;
    padding-bottom: 15px;
}

.footer-wrapper {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 22px 30px;
    box-shadow: 0 10px 30px rgba(21, 101, 255, 0.08);
    border: 1px solid #edf2ff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-links a {
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 14px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    background: #f3f7ff;
    color: var(--primary-color);
}
.support-button {
    position: absolute;
    inset-inline-start: -20px;

    width: 70px;
    height: 70px;
    border-radius: 50%;

    background: linear-gradient(135deg, #4da3ff, #1565ff);

    display: flex;
    justify-content: center;
    align-items: center;

    text-decoration: none;
    color: white;
    font-size: 2rem;

    box-shadow: 0 10px 25px rgba(21, 101, 255, 0.3);
    transition: all 0.25s ease;
}

.support-button:hover {
    transform: scale(1.08);
    color: white;
}

.footer-copy {
    text-align: center;
    margin-top: 18px;
    color: #6b7280;
    font-size: 0.9rem;
}

.clinicflow-logo {
    height:5.5rem;
    width: auto;
    object-fit: contain;
    display: block;
}

/** statistics **/
.stat-card {
    background: #fbfdff;
    border: 1px solid #edf2ff;
    border-radius: 18px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(21, 101, 255, 0.08);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 6px;
}