/* RESET */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    box-sizing: border-box;
	padding-bottom: 190px;

    padding-right: 0 !important;
}
.swal2-container {
    backdrop-filter: blur(5px) !important;
}

body.swal2-shown {
    padding-right: 0 !important;
    overflow-y: hidden !important;
}
/* Μετακίνηση reCAPTCHA πάνω από το footer */
.grecaptcha-badge { 
    bottom: 1.7% !important; 
    z-index: 99999;
}
.footer-line {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.8%;
    background: #f5f5f5;
    z-index: 1050; /* λίγο κάτω από το footer */
}
/* HEADER */
.header-bar {
    background-color: #FF0000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-top: 0.65%;
}

.header-title {
    font-size: 26px;
    font-weight: 600;
    white-space: nowrap;
}

.header-logo {
    height: 80px;
	transform: translateX(-20%);
}

/* LOADER */
#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 9px solid #ddd;
    border-top-color: #FF0000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
	z-index: 10000 !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* MAIN */
.form-card {
    background: #fff;
    width: 500px;
    max-width: 90%;
    padding: 35px 58px;
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.10);
    text-align: left;
    margin-top: 4.7%;
    margin-bottom: 4.95%;
}

/* INPUTS */
label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: 600;
}

input {
    width: 93%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    background-color: #fff;
    transition: 0.3s ease;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

input:focus {
    border-color: #FF0000 !important;
    box-shadow: 0 0 10px rgba(255,0,0,0.50) !important;
    outline: none;
}

/* BUTTON */
.btn {
    width: 100%;
    margin-top: 25px;
    padding: 20px;
    background-color: #FF0000;
    color: #fff;
    font-size: 17px;
    border: none;
    border-radius: 8px;
}
.qdiv{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: none;
    backdrop-filter: blur(4px);
}

.qbox{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: rgba(0,0,0,0.6);
    color: #fff;
    max-width: 600px;
    width: 90%;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.qbox p{
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cbut{
    padding: 8px 16px;
    background: #ff0000;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}



.privacy-group{
    margin-top: 20px;
}

.privacy-wrap{
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 10px;
    align-items: start;
    max-width: 100%;
}

.privacy-wrap input[type="checkbox"]{
    margin-top: 4px;
}

.privacy-wrap label{
    display: block;
    font-size: 14px;
    line-height: 1.4;
    word-break: normal;
    white-space: normal;
}
/* FOOTER */
footer {
    background: #FF0000;
    color: white;
    text-align: left;
    font-size: 14px;
    height: 70px;
    line-height: 70px;
    padding-left: 10px;
	position: fixed;
    left: 0;
    width: 100%;
	z-index: 1050;
	bottom: 0;
	bottom: 0.8%;
	z-index: 1050 !important;
}

/* Tooltip */
.label-with-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.info-icon {
    width: 18px;
    height: 18px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 50%;
    background-color: #FF0000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.info-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 28px;
    left: 0;
    width: 260px;
    background: #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.info-icon:hover + .info-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Error message under fields */
.error-msg {
    color: #FF0000;
    font-size: 13px;
    margin-top: 4px;
    
    /* 🔥 Σταθερό ύψος */
    height: 16px;

    /* 🔥 Χώρος υπάρχει πάντα */
    visibility: hidden;
}

.error-msg.active {
    visibility: visible;  /* 🔥 Εμφάνιση χωρίς αλλαγή layout */
}

.lb1{

        margin-top: 12% !important;
    }

/* MOBILE */
@media (max-width: 600px){
    .header-title { font-size: 19px !important;margin-left:-15px;
	
	} 
 
    input { width: 89%; }
 
	 
    .header-logo { height: 70px !important;   margin-right:28.5px;}
    .form-card { width: 85% !important; padding: 28px 22px !important;  margin-top:25%}
	

	
	.header-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.4%;
    background: #f5f5f5;
    z-index: 9998;
	}
	.header-bar {
  background-color: #FF0000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
margin-top:5px;
    position: fixed;
    top: 1.2%;  /* ακριβώς κάτω από τη γραμμή */
    left: 0;
    width: 100%;
    z-index: 1050;
	}

	    body {
        padding-bottom: 180px !important;
    }
	
	.lb1{

        margin-top: 0% !important;
    }
 
    label[style*="margin-top"]{
        margin-top: 1.2% !important;
    }
}
@media (max-width: 400px){
    .header-title { font-size: 19px !important;margin-left:-15px;
	
	} 
 
    input { width: 89%; }
 
	 
    .header-logo { height: 70px !important;   margin-right:28.5px;}
    .form-card { width: 85% !important; padding: 28px 22px !important;  margin-top:25%}
	

	
	.header-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.4%;
    background: #f5f5f5;
    z-index: 9998;
	}
	.header-bar {
  background-color: #FF0000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
margin-top:5px;
    position: fixed;
    top: 1.2%;  /* ακριβώς κάτω από τη γραμμή */
    left: 0;
    width: 100%;
    z-index: 1050;
	}

	    body {
        padding-bottom: 180px !important;
    }
	
	.lb1{

        margin-top: 0% !important;
    }
 
    label[style*="margin-top"]{
        margin-top: 1.2% !important;
    }
	.btn {
    width: 100%;
    margin-top: 25px;
	margin-bottom: 12%;	
    padding: 20px;
    background-color: #FF0000;
    color: #fff;
    font-size: 17px;
    border: none;
    border-radius: 8px;
}
}
@media (max-width: 1024px) and (min-width: 601px) {
    .form-card {
        width: 82% !important;
        margin-top: 200px !important;
    }
	
	
 	.header-bar {
  background-color: #FF0000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 40px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);

    position: fixed;
    top: 1.2%;  /* ακριβώς κάτω από τη γραμμή */
    left: 0;
    width: 95%;
    z-index: 1050;
	}
    body {
        padding-bottom: 180px !important;
    }

    .header-title {
        font-size: 20px !important;
    }

    .header-logo {
        height: 75px !important;
        margin-top: 10px;
		
    }

    .btn {
        margin-bottom: 40px !important;
    }
	
	footer {
    background: #FF0000;
    color: white;
    text-align: left;
    font-size: 14px;
    height: 80px;
    line-height: 70px;
    padding-left: 10px;
	position: fixed;
    left: 0;
    width: 100%;
	z-index: 1050;
	bottom: 0;
	bottom: 0.8%;
	z-index: 1050 !important;
}
}