/* Image Containers Section */
.image-containers {
    gap: 10px;
    display: flex;
    justify-content: center;
    margin-top: 10px;  /* Add space between menu and image section */
	margin-bottom: 10px;  /* Add space between menu and image section */
}

.image-container {
    /* width: 240px; */
    flex: 1;
    max-width: 240px;
    height: 85px;
    background-color: #ddd;  /* Light grey background as placeholder */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Add a little shadow for depth */
}

.logo-container {
    background-color: #fff; /* set any color you want */
    display: flex;
    padding: 5px; /* optional padding */
	margin: 0 0 10px 0;
	border-radius: 8px 8px 0 0;
}

.logo-image {
    width: 100%;
    height: 90px;
}

.image-container img {
    width: 100%;
    height: 85px;
    object-fit: contain;  /* Ensure the image fills the container without distortion */
    border-radius: 8px;
}

.body-contents {
    margin: 0px;
	background-color: #fff;  /* White background for this section */
	padding: 15px;
	margin-top: 10px;  /* Add space between image containers and this section */
	border-radius: 8px;  /* Rounded corners */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Shadow for depth */
}

.body-contents-mypostings {
    margin: 0px;
	background-color: #fff;  /* White background for this section */
	padding: 15px;
	margin-top: 30px;  /* Add space between image containers and this section */
	border-radius: 8px;  /* Rounded corners */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Shadow for depth */
}

.body-contents a {
    color: #1976D2;  /* Blue color for the links */
    text-decoration: none;
    font-weight: bold;
    padding: 8px 8px;
    transition: background-color 0.3s;
}

.body-contents a:hover {
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 2px;
}

.post-ad-container {
    display: flex;
    justify-content: flex-end; /* This will push the content to the right */
}

/* Spinner Styles */
.spinner {
    border: 8px solid #f3f3f3; /* Light grey background */
    border-top: 8px solid #ff4c4c; /* Nepali-themed red (e.g. flag color) */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 0.75s linear infinite;
    display: none;  /* Hide initially */
    margin: 20px auto;
}

/* Discussion Forums Section */
.single-div {
    display: flex;
	flex-direction: column;
	/*gap: 20px;*/
    /* justify-content: space-between; */
    background-color: #fff;  /* White background for this section */
    padding: 15px;
    /*gapmargin-top: 30px;*/  /* Add space between image containers and this section */
    border-radius: 8px;  /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Shadow for depth */
	line-height: 1.6;
	font-size: 1rem;
}

.single-div a {
    color: #1976D2;  /* Blue color for the links */
    text-decoration: none;
    font-weight: bold;
    padding: 0px 8px 0px 0px;
    transition: background-color 0.3s;
}

.single-div a:hover {
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 2px;
}

.forum-box {
    display: flex;
	flex-direction: column;
	width: 100%;
    /* justify-content: space-between; */
    background-color: #fff;  /* White background for this section */
    padding: 15px;
    /*gapmargin-top: 30px;*/  /* Add space between image containers and this section */
    border-radius: 8px;  /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Shadow for depth */
	line-height: 1.6;
	font-size: 1rem;
}

.forum-box a {
    color: #1976D2;  /* Blue color for the links */
    text-decoration: none;
    font-weight: bold;
    padding: 0px 8px 0px 0px;
    transition: background-color 0.3s;
}

.forum-box a:hover {
    background-color: rgba(25, 118, 210, 0.1);
    border-radius: 2px;
}


.double-div {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Adds space between the two sections */
    margin-top: 10px;
}

.top-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Thin red line below A and B */
.divider {
    height: 1px;
    background-color: lightblue;
    width: 100%;
    margin: 0;
}

.importantnote {
    margin: 15px 0 ;
}

.error-message {
    color: red !important;; 
    font-weight: bold;
    margin-bottom: 12px;
}


/* Added this for the header images */
/* Image zoom functionality for header images */
.image-zoomable {
    cursor: zoom-in;
}

/* Overlay for the enlarged image */
.image-overlay-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Enlarged image */
.image-overlay-header img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    cursor: zoom-out;
}

/* Show the overlay when active */
.image-overlay-header.active {
    visibility: visible;
    opacity: 1;
}

/* Keyframe Animation for Spinning */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.geo-notice {
    display: none;
    background: #fff;
    border-radius: 8px;
    border-top: 3px solid #D32F2F;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 14px 16px;
    margin: 20px auto;
    max-width: 300px;
    text-align: center;
}

.geo-notice i {
    font-size: 1.2rem;
    color: #1976D2;
    margin-right: 6px;
}

.geo-notice h4 {
    display: inline;
    font-size: 0.9rem;
    color: #333;
    font-weight: bold;
}

.geo-notice p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.5;
    margin: 8px 0 12px 0;
}

.geo-notice button {
    background-color: #003893;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.8rem;
}

.geo-notice button:hover {
    background-color: #002a6e;
}

/* Responsive design for small screens */
@media screen and (max-width: 600px) {
    .image-containers {
        flex-direction: column;
        align-items: center;
    }

    .logo-container {
        height: auto;  /* Maintain aspect ratio */
        background-color: white;
    }

    .image-container {
        width: 100%;  /* Make image containers smaller on small screens */
        margin-bottom: 10px;  /* Add space between images */
    }

    .double-div {
        flex-direction: column;
        gap: 10px;
    }
    
    .forum-box {
        width: 100%; /* Full width on mobile */
        box-sizing: border-box;
    }

}