body{

font-family:Arial;

}

.container{

max-width:1170px;
margin:auto;
background:white;
padding:20px;
box-shadow:0 0 10px #ccc;
border-radius: 8px;
}

input{

width:80%;
padding:10px;
font-size:18px;
border: 1px solid #d6d6d6;
border-radius: 8px;
}

button{
    padding:10px 20px;
    font-size:18px;
    cursor:pointer;
    color:#fff;
    border: 1px solid #113b5c;
    border-radius:8px;
    background:linear-gradient(to bottom, #0f5686, #113b5c);
    transition:0.2s;
}

button:hover{
    background:linear-gradient(to bottom, #1671af, #0f5686);
}

table{

width:100%;
border-collapse:collapse;
margin-top:20px;

}

th,td{

border:1px solid #ddd;
padding:8px;

}

/*=============================================*/
/* СПИСЪК СЪС СЛУЖИТЕЛИ */

.employee-list {
    width: 100%;
    margin-top: 25px;
}

/* Карта на служител */
.employee-card {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    padding: 15px 18px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.employee-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Основна информация */
.employee-main {
    flex: 1;
    min-width: 0;
}



.employee-name {
    font-size: 21px;
    font-weight: bold;
}

.employee-title {
    display: inline;
    /*margin-right: 6px;*/
    color: #555;
    /*font-style: italic;*/
}

.employee-position {
    margin-top: 4px;
}

/* Факултет, катедра и администрация */
.employee-unit {
    margin-top: 6px;
}

.info-label {
    font-weight: bold;
}

/* Контактна информация */
.employee-contact {
    flex: 0 0 300px;
    align-self: center;
    padding-left: 20px;
    border-left: 1px solid #eeeeee;
    line-height: 1.8;
}

.contact-item {
    white-space: nowrap;
}

.contact-icon {
    display: inline-block;
    width: 24px;
    text-align: center;
    margin-right: 5px;
}

/* Email */
.employee-email a {
    text-decoration: none;
}

.employee-email a:hover {
    text-decoration: underline;
}

/* Tooltip */
.tooltip-name{
border-bottom:1px dotted #555;
cursor:help;
padding:2px;
}
.tooltip-name:hover{
color:#555;
}

/*=============================================*/
/* На тесни екрани контактите минават отдолу */
@media (max-width: 900px) {
    .employee-card {
        display: block;
    }

    .employee-contact {
        width: 100%;
        box-sizing: border-box;
        margin-top: 15px;
        padding: 12px 0 0;
        border-left: none;
        border-top: 1px solid #eeeeee;
    }

    .contact-item {
        white-space: normal;
    }
}
.result-count {
    margin: 15px 0 25px;
    text-align: right;
    color: #666;
    font-size: 14px;
}
/*=============================================*/
/* Основно разположение на менюто и съдържанието */
.directory-layout {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-top: 25px;
}

/* Ляво меню */
.directory-menu {
    flex: 0 0 300px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
	/*
	max-height: 80vh;
    overflow-y: auto;
	
	scrollbar-width: thin;
	*/
}

/* Заглавие на менюто */
.menu-title {
    font-size: 18px;
    font-weight: bold;
	color:#fff;
	padding: 10px;
    margin-bottom: 8px;
	border-radius: 4px;
    border-bottom: 1px solid #ddd;
	background:linear-gradient(to bottom, #0f5686, #113b5c);
}

.menu-subtitle {
    font-size: 16px;
    font-weight: bold;
	
	padding: 10px;
    margin-bottom: 8px;
	border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
	
}

/* Основен списък */
.menu-list,
.submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Елементи на менюто */
.menu-list li,
.submenu li {
    margin: 2px 0;
}

/* Връзки */
.menu-list a {
    display: block;
    padding: 7px 8px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.menu-list a:hover {
    background: #e5e5e5;
}

/* Подменю */
.submenu {
    margin-left: 15px;
}

/* Подменютата на факултетите са скрити по подразбиране */
.faculty-submenu {
    display: none;
}

/* Ако факултетът е избран или съдържа избрана катедра */
.menu-open > .faculty-submenu {
    display: block;
}

/* Подменюто на администрацията е скрито по подразбиране */
.administration-submenu {
    display: none;
}

/* Ако администрацията е избрана, подменюто се показва */
.menu-open > .administration-submenu {
    display: block;
}


/* Избран факултет или катедра */
.menu-selected {
    font-weight: bold;
	/*background-color: #08c;
  color: #fff !important;*/
}

/* Стрелка пред факултетите с катедри */
.menu-parent.has-submenu::before {
    content: "▶";
    display: inline-block;
    margin-right: 6px;
    font-size: 11px;
}

/* Стрелка надолу при отворено подменю */
.menu-open > .menu-parent.has-submenu::before {
    content: "▼";
}



/* Основна част със служителите */
.directory-content {
    flex: 1;
    min-width: 0;
}

.directory-content h2 {
    margin-top: 0;
}
/*=============================================*/
/* Меню над картите при малък екран */
@media (max-width: 700px) {

	.body{
		margin-right: 0px;
		margin-left: 0px;
	}
	.container{

	padding:2px;
	box-shadow: none; 
	}

    .directory-layout {
        display: block;
    }

    .directory-menu {
        width: 100%;
        margin-bottom: 20px;
    }

    .directory-content {
        width: 100%;
    }
}

/* */


/* Modern Standard (Firefox / Safari / Chrome Baseline) */
html {
  scrollbar-width: none;
}

/* WebKit Engines (Chrome, Edge, Safari legacy) 
html::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-track {
  background: #f0f0f0;
}
html::-webkit-scrollbar-thumb {
  background-color: #4ed3b4;
  border-radius: 9999px;
}*/