/* CSS Document */

/* @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');*/
/* @import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
/* montserrat-regular - latin_cyrillic */
/* comfortaa-regular - latin_cyrillic */
@font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 400;
    src: local(''),
         url('../fonts/comfortaa-v37-latin_cyrillic-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/comfortaa-v37-latin_cyrillic-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  
  /* comfortaa-600 - latin_cyrillic */
  @font-face {
    font-family: 'Comfortaa';
    font-style: normal;
    font-weight: 600;
    src: local(''),
         url('../fonts/comfortaa-v37-latin_cyrillic-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
         url('../fonts/comfortaa-v37-latin_cyrillic-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
  }
  
  
body{
    background-image:url(../img/bg.jpg);
    background-color:#cccccc;
    padding:0;
    margin:0;
    font-family:Comfortaa;
}


    
input[type=button], input[type=submit], input[type=reset] {
    background-color:#009900;
    color:#FFFF00;
    border-top-style:solid;
    border-top-color:#FFFF00;
    border-top-width:1px;
    border-bottom-style:solid;
    border-bottom-color:#FFFF00;
    border-bottom-width:1px;
    cursor:pointer;
    border-left:none;
    border-right:none;
    border-radius: 4px;
}

input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover{
    background-color:#006600;
    color:#FFFF99;
    
}

input[type=text],input[type=number],input[type=email],input[type=time],input[type=date],select,textarea{
        background-color:#C5FE9E;
        color:#000000;
        border-bottom-style:dashed;
        border-bottom-color:#000000;
        border-bottom-width:1px;
        border-top:none;
        border-left:none;
        border-right:none;
}
        
input[type=text]:hover,input[type=email]:hover,input[type=time]:hover,input[type=date]:hover,select:hover,textarea:hover{
        background-color:#B4ED8D;
        color:#000000;
}
thead { 
    background-color:#a1a1a1;
}
table:not(#tblEx) {
            border-style:solid;
            border-width:1px;
            border-color:#5e5e5e;
}

tr:hover:not(#trEx){
    background-color: #cccccc;
}

td:not(#tdEx){
    border-bottom-style:dotted;
    border-bottom-width:1px;
    border-bottom-color:#5e5e5e;
}

h1,h2,h3{padding:0; margin:0;}
/*
pre {
    overflow-x: auto;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
  }
*/
optgroup{font-size:20px;}

.stickyHead {
    position: sticky; top: 0;
    background-color: #cccccc;
}

.menu_top{
    height:74px; 
    background-color: #cccccc;
    border-bottom: 1px dashed;
}
.menu_top a{
    text-decoration: none;
    font-size: 0.8em;
    color:#000000;
}
.menu_top a div{
    border-top-color: #999999;
    border-top-style: solid;
    border-top-width: 1px;
    
}


    .main_menu_item{
    border-top-style:solid;
    border-top-color:#333333;
    border-top-width:1px;
    border-bottom-style:solid;
    border-bottom-color:#333333;
    border-bottom-width:1px;
    cursor:pointer;
    text-align:center;
    font-family:Comfortaa;
    }
    
.main_menu_item_active, .main_menu_item:hover{
    background-color:#666666;
    color:#FFFFFF;
}
    
    
    
    
    .workplace{
    border-left-style:dashed;
    border-top-style:dashed;
    border-bottom-style:none;
    border-right-style:none;
    border-color:#000000;
    border-width:1px;
    }
    
    .subpage_title{
    color:#000000; 
    font-size:21px; 
    text-align:center;
    }
    .subpage_menu{
    background-color:#CCCCCC;
    }

    .tables_row_head{
    background-color:#999999;
    }
    
   
    
    .tables_row_regular_left{
    border-bottom-style:dotted;
    border-bottom-width:1px;
    border-left-style:dotted;
    border-left-width:1px;
    }
    
    
    .pokazalka{
    background-color:#CCCCCC;
    }
    
    
    .short_user_info{
    float:right;
    border-left-style:dotted;
    border-left-width:1px;
    font-size:14px;
    }
    .profile_link{
        font-size:18px !important;
         border-radius: 4px;
        transition: background-color 0.3s;
    }
    .profile_link:hover {
        background-color: #e0e0e0;
        text-decoration: underline;
    }
    
    .current_patient{
    float:left;
    border-left-style:dotted;
    border-left-width:1px;
    font-size:14px;
    }
    
    .counter_clock{
    float:left;
    border-left-style:dotted;
    border-left-width:1px;
    font-size:14px;
    }
    
    .nota_bene{
    margin-left:5px;
    width:33%;
    font-size:11px;
    color:#FF0000;
    text-align:left;
    border-left-style:dotted;
    border-left-width:1px;
    border-left-color:#FF0000;}
    
    .record_separator{
    border-bottom-style:dashed;
    border-color:#000000;
    border-width:1px;
    clear:both;
    }
    
    
/* login form */
.frmLogin{
    display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 text-align: center;
 min-height: 90vh;
}
.copyright {
    font-size: 0.7vw;
    color: #9B9B9B;
    position: fixed;
    bottom: 0;
    right: 0;
}
.menuIcon{
    max-width: 50px;
}
.menuIcon:hover{
    filter:contrast(80%)
}
.divEdit{
    border: 1px solid rgb(108, 108, 108);
    background: #efebeb;
    width:99%; font-size: large;
}
.divEdit:hover{
    border: 1px solid #000;
    background: #efebeb;
}
.tblWorkList{
    width:40vw;
}
.menu_inner {
    float: left;
    background-color: #dedede;
    min-height: calc(100vh - 88px);
    max-height: calc(100vh - 88px);
    padding-right: 10px;
    border-right: 1px dashed;
    font-size: 14px;
    overflow: auto;
    width:120px;
}

.menu_inner_title{
    text-align:center;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    background: linear-gradient(90deg, rgb(154, 154, 154) 0%, rgba(222,222,222,1) 100%);
}
.menu_inner ul {
    padding-left: 5px;
}
.menu_inner ul li{
	cursor:pointer;
	border-bottom:1px solid #7a7a7a;
	transition: all 0.5s ease;
    list-style-type:none;
    min-height: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu_inner ul li:hover{
	background-color:#5e5e5e;
	color:#fff;
	
}
#work {
    background-color: #dedede;
    max-height: calc(100vh - 85px);
    overflow: auto;
}

.signNO{
    color:#FF0000;
    font-weight: 900;
    cursor:pointer;
}
.signYES{
    color:#00CC00; font-weight: 900; font-size: 22px;
}
.ic{
    cursor:pointer;
}
.icBlue{
    color:blue;
}
.icGreen{
    color:green;
}
.contInfo{
    float:right;
}
/* ==============================================
		quick search			
=================================================*/
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    
    white-space: nowrap;
    width:500px;
} 
.ui-menu-item{margin-left: 10px !important;}
.ui-widget-overlay {
    background: #fff !important;
    opacity: 0.1 !important;
    
 }
 
 .ui-state-hover {
    border-color: #092000 !important;
    padding-left:10px;
}
button.ui-datepicker-close {display: none;}​
.hasDatepicker {
    font-size: 18px; /* или колкото искаш */
    line-height: 1;   /* за да не се свива emoji */
    font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    text-align: center; /* за да е красиво в полето */
}


.working{background:url('/img/waitSmall.gif') no-repeat right center;}

/*ring bell*/
.bell{
	float:left;
	color: #9e9e9e;
	-webkit-animation: ring 4s .7s ease-in-out infinite;
	-webkit-transform-origin: 50% 4px;
	-moz-animation: ring 4s .7s ease-in-out infinite;
	-moz-transform-origin: 50% 4px;
	animation: ring 4s .7s ease-in-out infinite;
	transform-origin: 50% 4px;
    cursor:pointer;
  }
  
  @-webkit-keyframes ring {
	0% { -webkit-transform: rotateZ(0); }
	1% { -webkit-transform: rotateZ(30deg); }
	3% { -webkit-transform: rotateZ(-28deg); }
	5% { -webkit-transform: rotateZ(34deg); }
	7% { -webkit-transform: rotateZ(-32deg); }
	9% { -webkit-transform: rotateZ(30deg); }
	11% { -webkit-transform: rotateZ(-28deg); }
	13% { -webkit-transform: rotateZ(26deg); }
	15% { -webkit-transform: rotateZ(-24deg); }
	17% { -webkit-transform: rotateZ(22deg); }
	19% { -webkit-transform: rotateZ(-20deg); }
	21% { -webkit-transform: rotateZ(18deg); }
	23% { -webkit-transform: rotateZ(-16deg); }
	25% { -webkit-transform: rotateZ(14deg); }
	27% { -webkit-transform: rotateZ(-12deg); }
	29% { -webkit-transform: rotateZ(10deg); }
	31% { -webkit-transform: rotateZ(-8deg); }
	33% { -webkit-transform: rotateZ(6deg); }
	35% { -webkit-transform: rotateZ(-4deg); }
	37% { -webkit-transform: rotateZ(2deg); }
	39% { -webkit-transform: rotateZ(-1deg); }
	41% { -webkit-transform: rotateZ(1deg); }
  
	43% { -webkit-transform: rotateZ(0); }
	100% { -webkit-transform: rotateZ(0); }
  }

  /* online appointment notification */
.calendar-online {
    float:left;
    color: #1976d2; /* син акцент – различен от камбанката */
    animation: calendarPulse 2.5s ease-in-out infinite;
    cursor:pointer;
}

/* леко пулсиране + мини скок */
@keyframes calendarPulse {
    0%   { transform: scale(1); }
    10%  { transform: scale(1.15); }
    20%  { transform: scale(1); }
    30%  { transform: translateY(-3px); }
    40%  { transform: translateY(0); }
    100% { transform: scale(1); }
}
#onlineList{
  overflow: auto;
  max-height: 70vh;
}
#onlineList li {
    padding: 8px;
    border-bottom: 1px solid #eee;
}
#onlineList ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

#onlineList li {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.online-info {
    font-size: 14px;
    line-height: 1.4;
}

.btn-confirm {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.btn-confirm:hover {
    background: #218838;
}
  /*modal div*/
  /* Модален фон */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
    z-index: 9999;
}

/* Модално съдържание */
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    animation: scaleIn 0.3s ease-in-out;
}

/* Списък без точки */
#arrivedList ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

/* Редовете на списъка */
#arrivedList li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left; /* Ляво подравняване */
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

/* Последен ред без линия */
#arrivedList li:last-child {
    border-bottom: none;
}

#arrivedList strong {
    color: #0078D4;
    margin-right: 8px;
}

.confirmBtn {
    background: #0078D4;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
}

.confirmBtn:hover {
    background: #005A9E;
}
.alert-warning {
    background-color: #fff3cd;      /* стандартен warning фон */
    color: #8b0000;                 /* тъмно червено */
    border: 1px solid #ffeeba;
    padding: 10px 15px;
    border-radius: 6px;

    /* лека падаща сянка */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.invoice-alert {
    background:#fff3cd;
    color:#8b0000;
    border:1px solid #ffeeba;
    border-radius:6px;
    padding:10px 15px;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
    display:flex;
    align-items:center;
    gap:10px;
}

.invoice-icon {
    background-color:#f76363 ;
    font-size:20px;
    font-weight:bold;
    padding:2px 2px;
    border:1px solid #8b0000;
    border-radius:4px;
}

/* Анимации */
@keyframes fadeIn {
    from {opacity: 0;}
    to   {opacity: 1;}
}

@keyframes scaleIn {
    from {transform: scale(0.9);}
    to   {transform: scale(1);}
}

@keyframes slideIn {
    from {transform: translateX(-10px); opacity: 0;}
    to   {transform: translateX(0); opacity: 1;}
}
