*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    }
    
    body{
    font-family:Tahoma, Arial, sans-serif;
    direction:rtl;
    background:#fafafa;
    }
    
    .container{
    width:90%;
    max-width:1200px;
    margin:auto;
    }
    
    /* header */
    
    .header{
    background:#fff;
    border-bottom:1px solid #eee;
    }
    
    .header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:70px;
    }
    
    /* logo */
    
    .logo{
    font-size:20px;
    font-weight:bold;
    color:#222;
    }
    
    /* nav desktop */
    
    .nav{
    display:flex;
    align-items:center;
    gap:25px;
    }
    
    .nav a{
    text-decoration:none;
    color:#333;
    font-size:15px;
    padding:6px 4px;
    }
    
    .nav a:hover{
    color:#0d6efd;
    }
    
    /* login button */
    
    .login-btn{
    background:#0d6efd;
    color:#fff !important;
    padding:6px 14px;
    border-radius:6px;
    }
    
    /* menu button */
    
    .menu-toggle{
    display:none;
    font-size:26px;
    background:none;
    border:none;
    cursor:pointer;
    }
    
    /* mobile */
    
    @media (max-width:768px){
    
    .menu-toggle{
    display:block;
    }
    
    .nav{
    display:none;
    flex-direction:column;
    position:absolute;
    top:70px;
    right:0;
    width:100%;
    background:#fff;
    border-top:1px solid #eee;
    }
    
    .nav.show{
    display:flex;
    }
    
    .nav a{
    padding:14px;
    border-bottom:1px solid #eee;
    width:100%;
    }
    
    }
    

    /* hero */

.hero{
    background:#f5f7fb;
    padding:80px 20px;
    text-align:center;
    }
    
    .hero h1{
    font-size:36px;
    margin-bottom:15px;
    color:#222;
    }
    
    .hero p{
    font-size:18px;
    color:#555;
    margin-bottom:25px;
    }
    
    .btn{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:10px 22px;
    border-radius:6px;
    text-decoration:none;
    }
    
    /* services */
    
    .services{
    padding:60px 0;
    text-align:center;
    }
    
    .services h2{
    font-size:28px;
    margin-bottom:40px;
    }
    
    .cards{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
    }
    
    .card{
    background:#fff;
    padding:25px;
    border-radius:10px;
    width:280px;
    box-shadow:0 5px 15px rgba(0,0,0,0.05);
    }
    
    .card h3{
    margin-bottom:10px;
    }

    

/* Top Header */

.topheader{
    background:#0e0f3b; /* دقیقا رنگ تم نمونه */
    color:#fff;
    font-size:14px;
    padding:10px 0;
}

.topheader a{
    color:#fff;
    text-decoration:none;
    margin-left:12px;
    font-size:17px;
}

.topheader-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* left icons */
.top-left{
    display:flex;
    align-items:center;
    gap:15px;
}

/* center address */
.top-center{
    display:flex;
    align-items:center;
    gap:8px;
    font-size:14px;
}

/* right side (phone + logo) */
.top-right{
    display:flex;
    align-items:center;
    gap:15px;
    
}


.top-logo{
    height:55px;  /* تغییر ارتفاع لوگو */
}


/* RESPONSIVE */
@media(max-width:768px){
    .topheader{
        font-size:12px;
        text-align:center;
    }

    .topheader-inner{
        flex-direction:column;
        gap:10px;
    }

    .top-right{
        flex-direction:row-reverse;
    }
}

/* دکمه/لینک نوبت آنلاین */
.btn-online{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background:#83181800;
    color:#00ff37;
    padding: 10px 16px;
    text-decoration:none;
    white-space: nowrap;
  }
  
  /* دایره چشمک‌زن */
  .blink-dot{
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #54ad0b;
    box-shadow: 0 0 0 rgba(255,255,255,0.6);
    animation: blinkPulse 1s infinite;
  }
  
  /* انیمیشن چشمک/پالس */
  @keyframes blinkPulse{
    0%   { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
    50%  { opacity: 0.3; transform: scale(1.05); box-shadow: 0 0 0 6px rgba(255,255,255,0.25); }
    100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 12px rgba(255,255,255,0.0); }
  }

  

/* =========================
   login صفحه ورود بیمار 
========================= */
.login-page{
    min-height: calc(100vh - 140px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:60px 20px;
    background: linear-gradient(135deg, #f7fbff00 0%, #eef6ff00 100%);
  }
  
  .login-card{
    width:100%;
    max-width:460px;
    background: rgba(255,255,255,0.95);
    border:1px solid #e8eef5;
    border-radius:18px;
    padding:32px 28px;
    box-shadow: 0 20px 50px rgba(14,64,128,0.10);
    backdrop-filter: blur(8px);
  }
  
  .login-brand{
    display:flex;
    gap:14px;
    align-items:center;
    margin-bottom:24px;
  }
  
  .brand-badge{
    width:48px;
    height:48px;
    border-radius:14px;
    background: linear-gradient(135deg,#0d6efd,#25b7ff);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    font-weight:700;
    box-shadow: 0 8px 20px rgba(13,110,253,0.25);
  }
  
  .brand-text h2{
    font-size:20px;
    margin:0 0 4px 0;
    color:#1a2a3a;
  }
  .brand-text p{
    margin:0;
    font-size:13px;
    color:#6b7a8c;
  }
  
  .login-form p{
    margin-bottom:14px;
  }
  
  .login-form label{
    display:block;
    font-size:13px;
    margin-bottom:6px;
    color:#425466;
  }
  
  .login-form input{
    width:100%;
    padding:12px 14px;
    border:1px solid #dbe6f3;
    border-radius:10px;
    font-size:14px;
    background:#f9fbff;
    transition: all .2s ease;
  }
  
  .login-form input:focus{
    outline:none;
    border-color:#0d6efd;
    background:#fff;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.12);
  }
  
  .btn-primary{
    width:100%;
    padding:12px 14px;
    margin-top:6px;
    border:none;
    border-radius:10px;
    background: linear-gradient(135deg,#0d6efd,#25b7ff);
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition: transform .15s ease, box-shadow .2s ease;
  }
  
  .btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(13,110,253,0.25);
  }
  
  .login-footer{
    margin-top:18px;
    font-size:12px;
    color:#6b7a8c;
    display:flex;
    justify-content:center;
    gap:6px;
  }
  
  .login-footer a{
    color:#0d6efd;
    text-decoration:none;
  }
  


  