/* Login Icon in Header */
#Top_bar .top_bar_right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#Top_bar .top_bar_right .interad-login-button,
#Top_bar .top_bar_right .interad-user-menu {
	margin-left: 15px;
}

/* Login Button - Styled like reference image */
.interad-login-button {
	display: inline-block;
	padding: 10px 20px;
	background: #f21348;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-size: 17px;
	/*font-weight: 600;*/
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: none;
	line-height: 1.4;
    text-decoration: none!important;
    /*background: linear-gradient(to right, #0f4776 50%, #F0F0F0 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: all .6s ease-out;*/
}
.interad-login-button:hover {
   /* background-position: left bottom;*/
	background: #bd0a35;
	color: white;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}

/* User Button - Same style as login button */
.interad-user-icon {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: #f21348;
	color: white;
	text-decoration: none;
	border-radius: 4px;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: none;
	line-height: 1.4;
	text-decoration: none !important;
}

.interad-user-icon:hover {
	background: #bd0a35;
	color: white;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}

.interad-user-icon svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	stroke: currentColor;
}

.interad-user-name {
	font-size: 18px;
	font-weight: 600;
	color: inherit;
}

.interad-user-menu {
	position: relative;
}

.interad-user-name {
	font-size: 14px;
	font-weight: 500;
}

.interad-user-dropdown {
	position: absolute;
	top: 100%;
	right: 0;
	background: white;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	margin-top: 8px;
	min-width: 150px;
	display: none;
	z-index: 1000;
}
.connect-btn{
    position: relative;
    bottom: 4px;
}
.connect-user-btn{
    position: relative;
    bottom: 12px;
}

.interad-user-dropdown.active {
	display: block;
}

.interad-user-dropdown a {
	display: block;
	padding: 12px 16px;
	color: var(--blue), #f21348;
	text-decoration: none;
	transition: background 0.3s ease;
}

.interad-user-dropdown a:hover {
	background: #f5f5f5;
}

.interad-user-dropdown a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.interad-user-dropdown a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}

/* Modal Styles */
.interad-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}

.interad-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.interad-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(2px);
}

.interad-modal-content {
	position: relative;
	background: white;
	border-radius: 8px;
	max-width: 600px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 10000;
	box-shadow: 0 10px 40px rgba(0,0,0,0.2);
	padding: 40px;
}

.interad-modal-close {
	position: absolute;
	top: 5px;
	right: 5px;
	background: none;
	border: none;
	font-size: 32px;
	color: #999;
	cursor: pointer;
	line-height: 1;
	padding: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
}

.interad-modal-close:hover {
	color: var(--red, #851012);
    background: transparent;
}

/* Tabs */
.interad-modal-tabs {
	display: flex;
	/*border-bottom: 2px solid #e0e0e0;*/
	margin-bottom: 30px;
    gap: 15px;
}

.interad-tab-btn {
	flex: 1;
	padding: 15px 20px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	font-size: 16px;
	font-weight: 500;
	color: #666;
	transition: all 0.3s ease;
}
.interad-tab-btn{
    background: #e3e3e3;
    color: black;
}

.interad-tab-btn.active {
	color: white;
	/*border-bottom-color: var(--gold, #bd0a35);*/
    background: var(--gold, #bd0a35);
}
.interad-tab-btn.active:hover{
    background: var(--gold, #bd0a35);
}

.interad-tab-btn:hover {
	color: white;
    border-radius: 5px;
}

/* Tab Content */
.interad-tab-content {
	display: none;
}

.interad-tab-content.active {
	display: block;
}

.interad-tab-content h2 {
	margin: 0 0 20px 0;
	color: var(--blue, #f21348);
	font-size: 24px;
}

.interad-form-note {
	font-size: 12px;
	color: #666;
	margin: 0 0 20px 0;
	font-style: italic;
    display: none;
}

.interad-reset-desc {
	font-size: 14px;
	color: #666;
	margin: 0 0 20px 0;
	line-height: 1.5;
}

/* Form Styles */
.interad-auth-form {
	margin-top: 20px;
}

.interad-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 15px;
	row-gap: 32px;
	margin-bottom: 16px;
}

.interad-form-group {
	margin-bottom: 0;
}

.interad-form-group label {
	display: block;
	margin-bottom: 10px;
	color: black;
	font-weight: 500;
	font-size: 14px;
}

.interad-form-group input[type="text"],
.interad-form-group input[type="email"],
.interad-form-group input[type="password"],
.interad-form-group input[type="tel"],
.interad-form-group select {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	transition: border-color 0.3s ease;
	box-sizing: border-box;
	background-color: white;
	font-family: inherit;
	margin-bottom: 0;
}

.interad-form-group select {
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	padding-right: 40px;
}

.interad-form-group select:focus {
	outline: none;
	border-color: var(--gold, #bd0a35);
}

.interad-form-group input.error,
.interad-form-group select.error {
	border-color: var(--red, #851012);
}

.interad-field-error {
	display: block;
	font-size: 10px;
	color: var(--red, #851012);
	margin: 2px 0 0 0;
	min-height: 14px;
	line-height: 1.2;
}

.interad-form-hint {
	display: block;
	font-size: 12px;
	color: #666;
	margin-top: 5px;
    display: none;
}

.interad-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: normal;
}

.interad-checkbox-label input[type="checkbox"] {
	width: auto;
	margin: 0;
	cursor: pointer;
}

.interad-submit-btn {
	width: 100%;
	padding: 14px 20px;
	background: var(--gold, #bd0a35);
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s ease;
	margin-top: 10px;
}

.interad-submit-btn:hover {
	background: var(--red, #851012);
	color: white;
}

.interad-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.interad-form-messages {
	margin: 15px 0;
	padding: 12px;
	border-radius: 4px;
	display: none;
}

.interad-form-messages.error {
	display: block;
	background: #fee;
	color: var(--red, #851012);
	border: 1px solid #fcc;
}

.interad-form-messages.success {
	display: block;
	background: #efe;
	color: #060;
	border: 1px solid #cfc;
}

.interad-form-footer {
	margin-top: 20px;
	text-align: center;
}

.interad-form-footer a {
	color: var(--blue, #f21348);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.interad-form-footer a:hover {
	color: var(--red, #851012);
	text-decoration: underline;
}

/* Fixed position fallback */
body > div[style*="position:fixed"] .interad-login-button,
body > div[style*="position:fixed"] .interad-user-menu,
.interad-login-fallback .interad-login-button,
.interad-login-fallback .interad-user-menu {
	/*background: white;*/
    padding: 12px 20px;
    border-radius: 4px;
	/*box-shadow: 0 2px 10px rgba(0,0,0,0.2);*/
}

/* Responsive: shift fallback left so it doesn't cover burger menu */
@media (max-width: 959px) {
	.interad-login-fallback {
		right: 80px !important;
	}
}

/* Smooth transition for fallback button when sidebar opens/closes */
.interad-login-fallback {
	transition: opacity 0.25s ease;
}
/* When side menu is open: fade out and put behind so transition is smooth (no abrupt remove/add) */
body.interad-sidebar-open .interad-login-fallback {
	opacity: 0 !important;
	pointer-events: none !important;
	z-index: 1 !important;
}

/* Profile Page Styles */
.interad-profile-page {
	padding: 50px 0 70px;
}
.interad-profile-page .section_wrapper{
    justify-content: center;
}


.interad-profile-page .profile-title {
	color: var(--blue, #f21348);
	font-size: 32px;
	margin-bottom: 30px;
    text-align: center;
}

.interad-profile-container {
	max-width: 800px;
	margin: 0 auto;
	background: white;
	padding: 40px;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.interad-profile-form {
	margin-top: 20px;
}

.interad-profile-form .interad-form-group {
	margin-bottom: 20px;
}

.interad-profile-form .interad-form-row {
	margin-bottom: 0;
}

/* Survey Maker Login Button - Inside the box */
.interad-survey-login-btn {
	display: block !important;
	width: auto !important;
	max-width: fit-content !important;
	margin: 15px auto !important;
	padding: 10px 20px;
	background: #f21348;
	color: white!important;
	text-decoration: none;
	border-radius: 4px;
	font-size: 18px;
	/*font-weight: 600;*/
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: none;
	line-height: 1.4;
	text-decoration: none !important;
	text-align: center;
}

.interad-survey-login-btn:hover {
	background: #bd0a35;
    color: white;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}

/* Hide default Survey Maker login forms */
.ays-survey-container form[action*="wp-login.php"],
.survey-maker-container form[action*="wp-login.php"],
[id*="survey"] form[action*="wp-login.php"] {
	display: none !important;
}

/* Comments Reply Button */
.comment-reply-link,
.comment .reply a {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-left: 10px;
	color: var(--blue, #f21348);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s ease;
}

.comment-reply-link:hover,
.comment .reply a:hover {
	color: var(--red, #851012);
	text-decoration: underline;
}

/* Ensure comment reply form is visible */
#respond {
	display: block !important;
}

.comment-reply-login {
	display: block !important;
}


/*EVENTS PLUGIN*/

#evcal_head{
    display: none;
}

/* Κάνε το list container flexbox με grid συμπεριφορά */
#evcal_list.eventon_events_list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;              /* απόσταση ανάμεσα στις κάρτες */
    justify-content: flex-start;
}

/* Κάθε event = κάρτα */
#evcal_list .eventon_list_event {
    flex: 0 0 calc(33.333% - 20px);  /* 3 στήλες σε desktop */
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Να μην "σπάει" το layout λόγω των clear divs */
#evcal_list .clear.end {
    display: none !important;
}

/* Κεφαλίδα της κάρτας (μπλέ μπάρα με ημερομηνία + τίτλο) */
#evcal_list .eventon_list_event .desc_trig_outter {
    margin: 0;
}

/* Η εικόνα του event full width μέσα στην κάρτα */
#evcal_list .eventon_list_event .evo_event_main_img {
    width: 100%;
    height: auto;
    display: block;
}

/* Η κάρτα να είναι πάντα ανοιχτή (μην κλείνει/κρύβεται) */
#evcal_list .eventon_list_event .evcal_eventcard {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}
/*End*/


/*EVENTS POSTS*/

.events-section .post-item .post-comments, .events-section .post-item .icon-comment-empty-fa{
   display: none;
}

#Subheader .title {
    display: none;
}



.interad-user-menu .user-name{
    display: none;
}





/* Responsive */

/*@media (max-width: 768px) {
    .interad-modal-content {
        padding: 30px 20px;
        width: 95%;
    }

    .interad-form-row {
        grid-template-columns: 1fr;
    }

    .interad-user-name {
        display: none;
    }

    .interad-profile-container {
        padding: 20px;
    }
}*/
