.form-control {
	background-color:transparent !important;
	border-top:none;
	border-left:none;
	border-right:none;
	border-bottom:1px solid #b8b5b0;
}
.grid-container {
display: flex; 
	flex-wrap: wrap; 
	justify-content: center;
	gap: 30px;  
	max-width: 870px; 
	margin: 0 auto; 
	margin-bottom: 20px;
}
.grid-container.first-section {
    /* Разширяваме контейнера, за да събере точно 6 карти на един ред */
    max-width: 1050px; 
}
.event_card { 
    border: 1px solid #eee; 
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    transition: 0.3s;  
    box-shadow: 0 0 5px #c7a25f;
    cursor: pointer;
    padding-top: 20px;
    
    /* Махаме страничните маржове от тук, защото ползваме 'gap' в контейнера. 
       Оставяме само долния марж за разстояние между редовете. */
    margin-bottom: 20px;
}
.event_card p {
	color: #c7a25f;
	font-weight: bold;
	padding: 5px 10px 20px 10px;
	font-size: 14px;
	text-align: center;
	margin-bottom: 0px;
}
.event_card img { 
	width: auto; 
	height: 60px !important; 
	height:60px;
	object-fit: cover; 
	border-radius: 5px; 
	
}
.event_card:hover img {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(186deg) brightness(95%) contrast(92%);
    transition: filter 0.3s;
}
/* Скриваме истинските инпути */
.event_card input { 
	position: absolute; 
	opacity: 0; 
	cursor: pointer; 
}
        
/* Стил при избор */
.event_card.selected { 
	border-color: #333; 
	box-shadow: 0 4px 8px rgba(0,0,0,0.5); 
	position: relative;
	background-image: url(../images/inquiry_icon/fon.jpg);
}
.event_card:hover img,.event_card:hover p,
.event_card.selected img,.event_card.selected p {
    /* Превръщаме иконата в синьо чрез филтър */
    filter: brightness(0%) contrast(100%);
    opacity: 1; /* Възстановяваме пълната плътност */
    color: #333;
}
.event_card.hovver_event {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
    //border: 2px solid transparent; /* Статична рамка по подразбиране */
    transition: all 0.3s ease;
}
.event_card.dynamic-card img {
    width: 60px;
    height: 60px;
    //border-radius: 50%;
    object-fit: cover;
    //margin-bottom: 8px;
    z-index: 2; /* Над всички слоеве на рамката */
    transition: filter 0.3s ease, transform 0.3s ease;
}
.event_card.dynamic-card p {
    margin: 0;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
    z-index: 2;
    text-align: center;
}
.event_card.dynamic-card {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    //background: white; /* Цвят на вътрешността */
    z-index: 1;
    overflow: hidden;
    border: 2px solid transparent; /* Статична рамка по подразбиране */
    transition: all 0.3s ease;
}

/* Създаваме въртящия се ефект при Hover */
.event_card.dynamic-card:hover::before, .event_card.hovver_event:hover::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* Градиент, който ще изглежда като въртяща се линия */
    background: conic-gradient(transparent, #c7a25f, transparent 30%);
    animation: rotate-border 2s linear infinite;
    z-index: -2;
}

/* Бял фон отвътре, за да покрие градиента и да остане само рамката */
.event_card.dynamic-card:hover::after,.event_card.hovver_event:hover::after {
    content: '';
    position: absolute;
    inset: 4px; /* Дебелина на рамката */
    background: white;
    border-radius: 50%;
    z-index: -1;
    border: 2px solid #c7a25f; /* Статична рамка по подразбиране */
}

/* Самата анимация за въртене */
@keyframes rotate-border {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Когато е селектирано, рамката може да свети или да спре да се върти */
.event_card.dynamic-card.selected {
    border: 2px solid #333;
    box-shadow: 0 0 15px #333;
}

#accommodation_details {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
#accommodation_details table tr td {
    padding: 12px 8px;
    border-bottom: 1px solid #f9f9f9;
}

#accommodation_details select, 
#accommodation_details input {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    outline: none;
}

#accommodation_details select:focus, 
#accommodation_details input:focus {
    border-color: #c7a25f;
}
.required-field:focus {
    border-color: #c7a25f;
}

/* Анимация за грешка при избор на събитие */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.shake-animation {
    animation: shake 0.2s ease-in-out 0s 2;
    border-color: #e74c3c !important;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.shake-animation {
    animation: shake 0.3s ease-in-out 0s 2;
    border: 3px solid #e74c3c !important; /* Дебела червена рамка */
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
}