@font-face {
    font-family: 'IRAN_SemiBold.ttf';
    src: url('../assets/fonts/IRAN_SemiBold.ttf') format('truetype');
}

body {
    background-color: white;
    background-image: url('../assets/background.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* تغییر از center به flex-start */
    height: auto; /* تغییر از 100vh به auto */
    font-family: 'IRAN_SemiBold.ttf', sans-serif; /* کل سایت با فونت Byekan */
    margin: 0;
    overflow: auto; /* اضافه کردن این خط برای فعال کردن اسکرول */
    padding: 1cm 0;
}

.profile-container {
    position: relative;
    width: 150px; /* اندازه دایره */
    height: 150px; /* اندازه دایره */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* دایره شدن کانتینر */
    overflow: hidden; /* جلوگیری از برآمدگی تصویر */
    border: 6px solid #331cb2; /* نوار سبز دور تصویر */
    margin-bottom: 5px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 50%; 
    position: relative;
    z-index: 2;
}

.profile-info {
    text-align: center; /* متن به صورت مرکزی قرار می‌گیرد */
}

.doctor-name-img {
    width: auto;
    height: 80px; /* تنظیم ارتفاع تصویر اسم */
    margin: 0;
}

.specialization {
    font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
    font-size: 17px;
    color: black;
    margin-top: 10px; /* فاصله از اسم */
}

.dynamic-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,255,0,0.6) 10%, rgba(0,255,0,0.2) 50%, rgba(0,255,0,0) 80%);
    animation: glowEffect 2s infinite alternate;
    z-index: 1;
}

.update-notification {
    font-family: 'IRAN_SemiBold.ttf', sans-serif;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff2aa;
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    text-align: center;
    z-index: 9999;
}

.update-notification button {
    font-family: 'IRAN_SemiBold.ttf', sans-serif;
    background-color: #331cb2;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 3px;
}

.update-notification button:hover {
    background-color: #220a8d;
}


@keyframes glowEffect {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.2); opacity: 0.3; }
}

.buttons {
    font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
	margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button {
    font-family: 'IRAN_SemiBold.ttf', sans-serif;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    width: 400px;
}

.highlight {
	font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
    background: linear-gradient(90deg, #331cb2, #331cb2);
    color: white;
    font-weight: bold;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.normal {
	font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
	font-weight: bold;
    background-color: gray;
    color: white;
}

@media screen and (max-width: 768px) {
    body {
        background-size: cover;
    }
    .profile-container {
        width: 120px;
        height: 120px;
    }
    .profile-info {
        margin-top: 5px;
    }
    .buttons {
        width: 100%;
        align-items: center;
    }
    .button {
		font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
        width: 80%;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 9999; /* افزایش z-index */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* شفافیت پس زمینه */
}


.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    text-align: center;
    font-family: 'IRAN_SemiBold.ttf', sans-serif;
    position: relative;
    z-index: 10000;
}
.address-container {
	font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
    display: flex;
    flex-direction: column;
    align-items: center; /* وسط چین کردن محتوا */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
	font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.call-button {
    background-color: blue;
    color: white;
    margin-top: 20px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
	font-family: 'IRAN_SemiBold.ttf', sans-serif; /* همچنان فونت Byekan برای تخصص */
    font-size: 16px;
    cursor: pointer;
}
.modal, .modal-content, .close {
    z-index: 10000; /* تنظیم z-index برای اجزای modal */
}
.profile-container, .profile-img, .doctor-name-img {
    flex-shrink: 0; /* جلوگیری از کوچک شدن المان‌ها */
}
