/* =========================================================
   1. PAGE FULL WIDTH & COVER STYLING
   ========================================================= */
body.page-id-938 .site-content,
body.page-id-938 .content-area,
body.page-id-938 .site-main,
body.page-id-938 .entry-content {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.page-id-938 .site {
	background: transparent !important;
	margin: 0 !important;
}

.wp-block-cover,
.wp-block-cover-image {
    margin-top: 52px !important;
}

.overlap-avatar {
    margin-top: -80px !important;
    position: relative !important;
    z-index: 10 !important;
}


/* =========================================================
   2. UNIFORM WI-FI BUTTON STYLING (Matching Other Buttons)
   ========================================================= */
#custom-wifi-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 90%;
    max-width: 380px;
    margin: 15px auto;
    padding: 14px 20px;
    background-color: #ffffff; /* Λευκό φόντο όπως τα υπόλοιπα */
    border: 1px solid #e0e0e0; /* Λεπτό περίγραμμα */
    border-radius: 28px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

#custom-wifi-btn:active {
    transform: scale(0.98);
    background-color: #f8f9fa;
}

/* Στρογγυλό εικονίδιο αριστερά (Ανοιχτό γκρι φόντο όπως το Google Review) */
.wifi-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #f1f3f4; /* Ομοιόμορφο ανοιχτό γκρι φόντο */
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

.wifi-svg {
    width: 20px;
    height: 20px;
    color: #4a5568; /* Σκούρο διακριτικό γκρι/μπλε για το icon */
}

.wifi-text {
    color: #2c3e50;
    font-size: 17px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.2px;
}


/* =========================================================
   3. POP-UP MODAL OVERLAY (iOS & Android Style)
   ========================================================= */
.wifi-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
}

.wifi-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wifi-popup-box {
    background: rgba(245, 245, 247, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 82%;
    max-width: 300px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.2s ease-in-out;
}

.wifi-popup-overlay.active .wifi-popup-box {
    transform: scale(1);
}

.wifi-popup-content {
    padding: 20px 16px 16px 16px;
}

.wifi-popup-title {
    margin: 0 0 6px 0 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #000000 !important;
    line-height: 1.3 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.wifi-popup-sub {
    margin: 0 !important;
    font-size: 13px !important;
    color: #666666 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.wifi-popup-actions {
    display: flex;
    border-top: 0.5px solid rgba(60, 60, 67, 0.29);
}

.wifi-btn-cancel,
.wifi-btn-join {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding: 12px 0 !important;
    font-size: 16px !important;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    outline: none !important;
    margin: 0 !important;
}

.wifi-btn-cancel {
    color: #007aff !important;
    font-weight: 400 !important;
    border-right: 0.5px solid rgba(60, 60, 67, 0.29) !important;
}

.wifi-btn-join {
    color: #007aff !important;
    font-weight: 600 !important;
}

.wifi-btn-cancel:active,
.wifi-btn-join:active {
    background-color: rgba(0, 0, 0, 0.08) !important;
}