﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
:root {
    --bs-body-color: #16171c;
    --bs-body-font-family: 'Inter', sans-serif;
    --icoi-dark-blue: #312f8d;
    --icoi-white: #f1f1f1;
    --icoi-dark: #16171c;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

.footer-link {
    text-align: center;
}

.formbg table i.fa-trash {
    color: #8d2f2f;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.nav-link {
    color: white !important;
}

#doctor-list {
    padding: 15px 25px;
}

    #doctor-list tbody tr {
        background-color: white;
        transition: background-color 150ms;
        cursor: pointer;
    }

        #doctor-list tbody tr:hover {
            background-color: lightgray;
        }

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}


body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background: #d0cec9;
}

header {
    background-color: #312f8d;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

#loader, #thanks {
    display: none;
    position: absolute;
    background: #312f8db8;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
}

#thanks {
    font-size: 50px;
    color: white;
    background: #312f8df2;
    flex-direction: column;
    text-align: center;
}

.thanks-message {
    font-size: 20px;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 100px;
    height: 100px;
}

    .lds-ripple div {
        position: absolute;
        border: 6px solid #fff;
        opacity: 1;
        border-radius: 50%;
        animation: lds-ripple 1s cubic-bezier(0, 0.4, 0.8, 1) infinite;
    }

        .lds-ripple div:nth-child(2) {
            animation-delay: -0.5s;
        }


.passport-container {
    display: grid;
    grid-template-columns: 40px 300px auto;
    grid-template-rows: 150px 1fr 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    background: white;
    border-radius: 20px;
    min-height: 80vh;
}

    .passport-container .image-container img {
        width: 100%;
    }


    .passport-container .main-content {
        grid-area: 2 / 3 / 4 / 4;
    }

    .passport-container .main {
        grid-area: 1 / 1 / 4 / 4;
        height: 500px;
    }



.horizontal-stripe {
    grid-area: 1 / 1 / 2 / 4;
    background: var(--icoi-dark);
    border-radius: 20px 20px 0 0;
}

.horizontal-stripe-name {
    grid-area: 1 / 3 / 2 / 4;
    display: flex;
    flex-direction: column;
    color: var(--icoi-white);
    font-size: 24px;
    justify-content: center;
    margin-left: 30px;
}

    .horizontal-stripe-name .name {
        font-size: 50px;
    }

    .horizontal-stripe-name .specialization {
    }

.vertical-stripe {
    grid-area: 1 / 2 / 4 / 3;
    background: var(--icoi-dark-blue);
    z-index: 1;
    display: flex;
    flex-direction: column;
    color: var(--icoi-white);
    padding: 15px;
}

    .vertical-stripe .icon-content a {
        color: var(--icoi-white);
        text-decoration: underline;
    }

    .vertical-stripe .icon-content {
        display: flex;
        padding: 10px 0;
        color: var(--icoi-white);
    }

        .vertical-stripe .icon-content > div {
            display: flex;
            font-size: large;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

            .vertical-stripe .icon-content > div:first-child {
                background: var(--icoi-white);
                width: 40px;
                height: 40px;
                color: var(--icoi-dark);
                border-radius: 50%;
                flex-shrink: 0;
            }

            .vertical-stripe .icon-content > div:last-child {
                padding-left: 10px;
                flex-direction: column;
                align-items: self-start;
            }

    .vertical-stripe .image-container {
        border: 5px solid gray;
        border-radius: 50%;
        overflow: hidden;
        width: 220px;
        height: 220px;
        background: white;
        margin: 30px auto;
    }

    .vertical-stripe .sub-header {
        padding: 5px;
        text-align: center;
        font-weight: bold;
        border-top: 2px solid;
        border-bottom: 2px solid;
        border: 2px solid;
        margin: 5px 0;
    }

@keyframes lds-ripple {
    0% {
        top: 50px;
        left: 50px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 98%;
    }

    .passport-container {
        grid-template-columns: 30px 240px auto;
    }

    .horizontal-stripe-name {
        font-size: 20px;
    }

        .horizontal-stripe-name .name {
            font-size: 40px;
        }

    .vertical-stripe .image-container {
        width: 170px;
        height: 170px;
        margin: 15px auto;
    }

    .vertical-stripe .icon-content > div:first-child {
        width: 30px;
        height: 30px;
    }

    .vertical-stripe .icon-content > div:last-child {
        font-size: 14px;
        padding-left: 7px;
    }
}

@media (max-width: 767px) {
    .passport-container {
        grid-template-rows: 120px 1fr 1fr;
    }

    .vertical-stripe {
        grid-area: 2 / 1 / 2 / 4;
        padding: 0 50px;
    }

    .horizontal-stripe-name {
        grid-area: 1 / 1 / 2 / 4;
        margin-left: 0;
        text-align: center;
    }

    .vertical-stripe .sub-header {
        font-size: 28px;
    }

    .passport-container .main-content {
        grid-area: 3 / 1 / 4 / 4;
    }

    .vertical-stripe .icon-content > div:first-child {
        width: 40px;
        height: 40px;
    }

    .vertical-stripe .icon-content > div:last-child {
        font-size: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 540px) {
    .vertical-stripe {
        padding: 0px 30px;
    }

    .passport-container {
        grid-template-rows: 100px 1fr 1fr;
    }

    .horizontal-stripe-name {
        font-size: 16px;
    }

        .horizontal-stripe-name .name {
            font-size: 28px;
        }
}

@media (max-width: 400px) {
    .vertical-stripe .sub-header {
        font-size: 22px;
    }

    .vertical-stripe {
        padding: 0px 20px;
    }
}


.back-button {
    position: absolute;
    top: 70px;
    left: 9px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #007BFF;
    color: white;
    font-size: 22px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* subtle shadow */
    transition: background-color 0.3s, transform 0.2s;
}

    .back-button:hover {
        background-color: #0056b3; /* darker blue on hover */
        transform: scale(1.1); /* slight zoom */
    }
