/* _ClientLayout.css - Modern UI Redesign for Layout */

/* --- Variables (Consistent with clientHome.css) --- */
:root {
    --primary-color: #00796B; /* Teal */
    --primary-dark: #004D40; /* Darker Teal */
    --accent-color: #FFC107; /* Amber/Gold for stars, etc. */
    --light-bg: #F8F9FA; /* Light Gray Background */
    --card-bg: #FFFFFF; /* White Card Background */
    --text-color: #343A40; /* Dark Gray Text */
    --light-text: #6C757D; /* Muted Text */
    --border-color: #E0E0E0; /* Light Gray Border */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08); /* Soft Shadow */
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15); /* Deeper Shadow on Hover */
    --border-radius: 0.75rem; /* Rounded Corners */
}

/* --- Base Body Styles (from clientHome.css for consistency) --- */
body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: clip; max-width: 100%; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    font-weight: 600;
}

p {
    color: var(--light-text);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}


    a:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }

/* Prevent underline on all navbar links */
.navbar a,
.navbar a:hover,
.header-nav-pills a,
.header-nav-pills a:hover,
.nav-link,
.nav-link:hover {
    text-decoration: none !important;
}

/* Ensure consistent margin/padding reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Legacy navbar overrides removed in favor of modern unified header */


/* --- Footer Styling --- */
.footer {
  

    padding: 30px 0;
    text-align: center;
    font-size: 0.95rem;
    margin-top: 50px; /* Space above footer */
}

    .footer p {
        margin-bottom: 0;
        color: inherit; /* Inherit color from parent */
    }

/* --- Internet Connection Status Bar --- */
#internet-status {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    display: none; /* Keep only this */
    z-index: 1051;
    font-size: 1.1rem;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    color: antiquewhite;
    background-color: transparent;
}


    #internet-status i {
        font-size: 1.6rem; /* Larger icon */
        line-height: 1; /* Vertically align icon */
    }

    /* Specific colors for status */
    #internet-status.connected {
        background-color: #28a745; /* Green for connected */
    }

    #internet-status.disconnected {
        background-color: #dc3545; /* Red for disconnected */
    }

#blackScreenOverlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
}


/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) { /* Medium devices and down */
    .navbar {
        padding: 15px 0; /* Less padding on smaller screens */
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

        .navbar-brand img {
            height: 30px;
        }

    .navbar-nav .nav-item .nav-link {
        padding: 8px 15px; /* Adjust padding for smaller screens */
        text-align: center;
    }



    #current-time {
        margin-top: 10px; /* Space above time when navbar collapses */
        padding-left: 0;
        text-align: center;
        width: 100%; /* Full width for time display */
    }

    #alertContainer {
        top: 70px; /* Adjust alert position for smaller screens */
        right: 10px;
        left: 10px; /* Center alert on smaller screens */
        max-width: none; /* Allow it to take full width */
    }
}



#goTopBtn {
    display: none;
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 1052;
    font-size: 20px;
    border: none;
    outline: none;
    background: linear-gradient(to right, #00c6ff, #0072ff); /* ?? Gradient background */
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.4s ease;
}

    #goTopBtn:hover {
        background: linear-gradient(to right, #0072ff, #00c6ff); /* reverse on hover */
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }









#connectPopup {
    z-index: 1060 !important;
}

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0 !important;
    border-bottom: none;
}

.modal-title {
    font-weight: 700;
    font-size: 1.4rem;
}

.suggestion-box {
    min-height: 100px;
    resize: vertical;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px;
    font-family: inherit;
    transition: all 0.3s ease;
}

    .suggestion-box:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
        outline: none;
    }

.btn-connect {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-connect:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

.btn-skip {
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
    border-radius: 12px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-skip:hover {
        background: #6c757d;
        color: white;
        transform: translateY(-1px);
    }

.connect-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 15px;
}

.connect-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .connect-icon:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

.facebook {
    background: #1877f2;
}

.whatsapp {
    background: #25D366;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.telegram {
    background: #0088cc;
}

@media (max-width: 576px) {
    .modal-dialog {
        margin: 20px;
    }
}

@media (max-width: 991px) {
    #goTopBtn {
        bottom: 90px;
        right: 16px;
        z-index: 6000;
    }
}
