﻿:root {
    --health-primary: #164e63;
    --health-dark: #103747;
    --health-accent: #0d9488;
    --health-background: #f2f7fa;
    --health-border: #dce7ed;
    --health-text: #203747;
}

body {
    margin: 0;
    background: var(--health-background);
    color: var(--health-text);
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Application header */

.app-header {
    background: #ffffff;
    border-bottom: 1px solid var(--health-border);
    box-shadow: 0 3px 15px rgba(16, 55, 71, 0.07);
}

.header-top {
    min-height: 58px;
    padding: 10px 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid #edf2f5;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--health-primary);
    font-weight: 700;
    font-size: 17px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--health-accent);
    color: white;
    border-radius: 9px;
    font-size: 27px;
    font-weight: 700;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.role-badge {
    background: #e2f4f1;
    color: #11665e;
    border-radius: 20px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
}

.logout-btn {
    border: 1px solid var(--health-border);
    background: white;
    color: var(--health-primary);
    border-radius: 7px;
    padding: 7px 13px;
    cursor: pointer;
}

    .logout-btn:hover {
        background: #edf6f8;
    }

/* Centered main title */

.header-title {
    text-align: center;
    padding: 12px 15px 10px;
    background: linear-gradient(120deg, #103747, #17677a);
    color: white;
}

    .header-title h1 {
        margin: 0 0 5px;
        /*font-size: clamp(21px, 2.5vw, 32px);*/
        font-size: 1.6rem;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .header-title p {
        /*margin: 9px 0 0;*/
        margin: 0;
        color: #d6edf2;
        font-size: 0.9rem;
        /*font-size: 14px;*/
    }

/* Navigation */

.app-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
}

    .app-nav a {
        text-decoration: none;
        color: var(--health-primary);
        font-weight: 600;
        font-size: 14px;
        padding: 9px 18px;
        border-radius: 7px;
    }

        .app-nav a:hover {
            background: #e8f5f5;
            color: #087f75;
        }

/* Main page content */

.container {
    max-width: 1440px;
}

main {
    padding-top: 24px;
    padding-bottom: 35px;
}

h2, h3, h4, h5 {
    color: var(--health-dark);
}

.card {
    border: 1px solid var(--health-border);
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(16, 55, 71, 0.05);
}

.btn-primary {
    background: var(--health-primary);
    border-color: var(--health-primary);
}

    .btn-primary:hover {
        background: var(--health-dark);
        border-color: var(--health-dark);
    }

@media (max-width: 600px) {
    .header-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .header-user {
        width: 100%;
        justify-content: space-between;
    }

    .header-title {
        padding: 20px 12px;
    }

    .app-nav a {
        padding: 8px 12px;
    }
}

.telehealth-footer {
    margin-top: 30px;
    padding: 25px 4%;
    background: #103747;
    color: #fff;
}

.telehealth-footer-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.telehealth-footer strong {
    font-size: 17px;
}

.telehealth-footer p {
    margin: 7px 0 20px;
    color: #d6edf2;
    font-size: 13px;
}

.telehealth-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.2);
    color: #d6edf2;
    font-size: 12px;
}

    .telehealth-footer-bottom a {
        color: #fff;
        text-decoration: none;
    }

        .telehealth-footer-bottom a:hover {
            text-decoration: underline;
        }
.brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--health-primary);
    font-weight: 700;
    font-size: 16px;
    min-width: 0;
}

    .brand-mark > span:last-child {
        line-height: 1.4;
    }
.consultation-created-page {
    max-width: 760px;
    margin: 40px auto;
    padding: 0 16px;
}

.consultation-created-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(16, 55, 71, 0.08);
}

.consultation-created-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #dff5e8;
    color: #176b48;
    font-size: 26px;
    margin-bottom: 18px;
}

.consultation-created-card h2 {
    color: #103747;
    margin-bottom: 10px;
}

.consultation-created-subtitle {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.consultation-detail {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f5;
}

    .consultation-detail span {
        color: #64748b;
    }

    .consultation-detail strong {
        overflow-wrap: anywhere;
        color: #103747;
    }

.consultation-link-section {
    margin-top: 24px;
}

    .consultation-link-section label {
        display: block;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .consultation-link-section input {
        margin-bottom: 12px;
    }

.consultation-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.consultation-help {
    margin-top: 24px;
    padding: 14px;
    background: #f0f7fa;
    border-radius: 8px;
    color: #355563;
    line-height: 1.6;
}

#copyStatus {
    min-height: 20px;
    margin: 8px 0 0;
    color: #176b48;
    font-size: 14px;
}

@media (max-width: 600px) {
    .consultation-created-card {
        padding: 22px;
    }

    .consultation-actions {
        flex-direction: column;
    }

        .consultation-actions .btn {
            width: 100%;
        }
}

.brand-logo {
    width: 150px;
    height: 70px;
    object-fit: contain;
    display: block;
}

/* Reduce spacing between header sections */
.app-header {
    padding-bottom: 0;
}

.header-top {
    margin-bottom: 0;
    padding-bottom: 10px;
}

.header-title {
    margin-top: 0;
    padding-top: 10px;
    margin-bottom: 10px;
}

    .header-title h1 {
        margin-top: 0;
        margin-bottom: 5px;
    }

    .header-title p {
        margin-top: 0;
        margin-bottom: 0;
    }