کار درمانی
/* فونت IRANSans (اگه استفاده میکنی باید فایلش رو هم داشته باشی یا از CDN بذاری) /
body {
font-family: IRANSans, sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 20px;
}
/ هدر بیمارستان /
.header {
display: flex;
align-items: center;
background-color: #388e3c;
color: white;
padding: 15px;
border-radius: 10px;
margin-bottom: 20px;
justify-content: center;
font-size: 24px;
font-weight: bold;
}
/ کارت معرفی پزشک یا مدیر /
.card-container {
display: flex;
align-items: stretch;
margin: 25px 0;
flex-wrap: wrap;
gap: 20px;
}
.photo-box {
flex-shrink: 0;
border: 2px solid #cfd8dc;
border-radius: 15px;
background-color: white;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
overflow: hidden;
width: 300px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.photo-box img {
border-radius: 10px;
object-fit: cover;
width: 279px;
height: 207px;
box-shadow: rgba(0, 0, 0, 0.4) 0px 4px 8px;
}
.info-box {
flex: 1;
border: 2px solid #cfd8dc;
border-radius: 15px;
background-color: white;
padding: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
min-width: 280px;
}
.info-box p {
margin: 0 0 10px;
font-size: 15px;
line-height: 1.6;
}
/ بخش وظایف یا توضیحات */
.description-box {
margin: 25px 0;
padding: 20px;
border: 2px solid #cfd8dc;
border-radius: 15px;
background-color: #ffffff;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
font-size: 14px;
line-height: 1.8;
}
.description-box ul {
padding-left: 20px;
}
.description-box li {
margin-bottom: 10px;
text-align: justify;
}
