/* Base CSS */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Hide the Google Translate iframe */
iframe#\:1\.container {
    display: none !important;
}

/* Hide the Google Translate banner */
.goog-te-banner-frame {
    display: none !important;
}

body {
    background-color: #F5F8FF;
    top: 0 !important;
}

.home {
    width: 100%;
    background-color: #F5F8FF;
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    min-height: 85vh;
    position: relative;
}

.nav {
    height: 70px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 10000;
}

.nav .menu {
    margin-right: 20px;
}

.nav .menu ul {
    display: flex;
    list-style-type: none;
    text-align: center;
}

.nav .menu ul a {
    text-decoration: none;
    color: #000;
}

p#locationInfo {
    font-size: 18px;
    color: blue;
    font-weight: 600;
}

.nav .menu ul li {
    padding: 10px 20px;
    margin: 0px 10px;
    cursor: pointer;
    background-color: transparent;
    user-select: none;
}

.nav .menu ul li:hover {
    background-color: #4facfe;
}

.nav .logo {
    width: 120px;
    height: 60px;
    margin-left: 50px;
    position: relative;
}

#languageToggle {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ad Box Styling */
.ad-box {
    display: none;
    /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Transparent black overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.ad-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    height: 500px;
    width: auto;
}

.ad-content img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
}


textarea#locationInfo {
    width: 100%;
    height: 150px;
    text-align: right;
    font-size: 15px;
}

#languageToggle img {
    cursor: pointer;
    width: 24px;
    height: 24px;
}


.edit-btn {
    top: 5px;
    right: 5px;
    position: absolute;
}

.add-choice {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

#newChoice {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 200px;
}

#addChoiceBtn {
    padding: 10px 15px;
    background-color: #4facfe;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

div#dataListed {
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav .logo img {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.btnsec {
    width: 100%;
    text-align: center;
}

button#checkStatusBtn {
    margin: auto;
    padding: 10px 20px;
    font-size: 20px;
    width: max-content;
    border: 1px solid #4facfe;
    border-radius: 10px;
    background-color: #fff;
    cursor: pointer;
}

.home .main {
    width: 100%;
    background-color: transparent;
    /* Semi-transparent background */
    overflow-y: auto;
    /* Allow scrolling */
    position: relative;
    /* Adjust positioning */
}

div#choises {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px;
    direction: rtl;
}

/* style.css */
.department-image {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
    background-color: #F5F8FF;
    padding: 10px;
    border-radius: 10px;
}

/* .department-image:hover{
    background: linear-gradient(to right, #4facfe, #00f2fe);
} */

.department-name {
    display: block;
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 600;
    color: black;
}

.department-description {
    display: block;
    /* Make the description appear on a new line */
    font-size: 0.9em;
    color: gray;
}

.card {
    height: 200px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to right, #4facfe, #00f2fe);
}

.clickcard{
    height: max-content;
    width: max-content;
    background-color: white;
    border: 1px solid #007bff;
    color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

div#dataList {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 20px;
}

div#doctorInfo {
    background-color: transparent;
    text-align: center;
    direction: rtl;
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctordisplay {
    width: max-content;
    background-color: #fff;
    padding: 5px;
    border-radius: 10px;
    margin: 5px;
}

div#doctorInfo .doctordisplay img {
    width: 50px;
    height: 50px;
}

.home .main .box h2 {
    text-align: center;
}

.logo2 {
    width: 130px;
    height: 70px;
    margin: auto;
    margin-top: 20px;
    position: relative;
}

.logo2 img {
    width: 100%;
    height: 100%;
    background-size: cover;
}

.home .main .box .choise .one {
    background-color: #fff;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    height: 200px;
    padding: 25px;
    position: relative;
    direction: rtl;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.home .main .box .choise .one:hover {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: #fff;
    font-size: 25px;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.infobox {
    border: 1px solid #000;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 10px 0px 20px;
    text-align: center;
}

.infobox img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.home .main .box .next {
    background-color: white;
    border: 1px solid #4facfe;
    color: #4facfe;
    font-size: 20px;
    text-align: center;
    padding: 10px 10px;
    border-radius: 10px;
    width: max-content;
    margin: auto;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-weight: 500;
}

.home .main .box .next p {
    background-color: #4facfe;
    color: #fff;
    border-radius: 10px;
    margin-left: 10px;
    font-size: 20px;
    font-weight: 900;
    padding: 5px 10px;
}

.line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px;
    border: 1px solid #4facfe;
    padding: 5px;
    border-radius: 7px;
    font-size: 20px;
    font-weight: 600;
    background-color: #F0F0F0;
}

.custom-file-label {
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    display: inline-block;
    margin-right: 10px;
}

span#fileName {
    font-size: 12px;
}

.hosibitial {
    color: #4facfe;
}

ol {
    margin-right: 20px;
}

.redcl {
    color: #ff0808;
    margin-bottom: 10px;
    text-align: center;
}

#loadingSpinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1000;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

p#locationInfo {
    font-size: 18px;
    color: #3f1313;
    font-weight: 600;
    background-color: yellow;
    padding: 5px;
    direction: rtl;
}

/* Add this to your existing styles.css file */
.contact-box {
    background: linear-gradient(to top, #4facfe, #00f2fe);
    padding: 20px;
    text-align: center;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 200px;
}

.contact-box h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #000;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-details div {
    font-size: 18px;
    color: #000;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.notifi .img1 {
    margin-right: 40px;
    height: 90px;
    width: 130px;
}

.notifi .img1 img {
    height: 100%;
    width: 100%;
}

.soudiarm {
    display: flex;
}

.notifi .img1 {
    margin-right: 40px;
    height: 90px;
    width: 130px;
}

.soudiarm .img2 {
    margin-left: 20px;
    height: 90px;
    width: 100px;
}

.soudiarm .img2 img {
    height: 100%;
    width: 100%;
}

button.deleteBtn {
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    left: 5px;
    top: 10px;
}

.remove-link {
    margin-left: 10px;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    left: 5px;
    top: 10px;
}


/* For small screens (phones, up to 600px wide) */
@media screen and (max-width: 600px) {

    .home .nav .logo {
        margin-left: 5px;
        width: 60px;
    }

    .contact-box {
        padding: 5px;
        height: 130px;
    }

    .contact-box h3 {
        font-size: 18px;
        margin-bottom: 0px;
    }

    .contact-details div {
        font-size: 17px;
        color: #000;
        display: grid;
    }

    .notifi .img1 {
        margin-right: 5px;
        height: 45px;
        width: 75px;
    }

    .soudiarm .img2 {
        margin-left: 5px;
        height: 45px;
        width: 45px;
    }

    #newChoice {
        width: 80px;
    }

    .add-choice {
        margin: 5px 0;
    }

    div#dataList {
        width: 100%;
        justify-content: center;
        display: grid;
    }

    .home .nav .menu {
        margin-right: 0px;
    }

    .home .nav .menu ul {
        display: flex;
        align-items: center;
    }

    .home .nav .menu ul li {
        margin: 1px 7px;
        width: 100%;
        text-align: center;
        padding: 3px;
    }

    div#choises {
        grid-template-columns: repeat(1, 1fr);
    }


    .home .main .box .logo2 {
        width: 100px;
        height: 50px;
    }

    .infobox img {
        width: 40px;
        height: 40px;
    }

    .line {
        font-size: 16px;
        padding: 5px;
    }

    .orderinput,
    .selectlepo {
        width: 100px;
    }
    
    .department-description {
        display: block;
        font-size: 20px;
        color: gray;
    }
}

/* For medium screens (tablets, up to 768px wide) */
@media screen and (max-width: 768px) {
    div#choises {
        grid-template-columns: repeat(1, 1fr);
    }

    .home .nav .menu ul {
        justify-content: center;
    }

    .home .nav .logo {
        margin-left: 5px;
    }

    .department-description {
        display: block;
        font-size: 20px;
        color: gray;
    }
}