.user-main-container{
    display: flex;
    width:100%;
	min-height: 75vh;
    flex-direction: column;
    align-items: flex-start; /* Vertically centers content within each section */
    justify-content: flex-start;
    margin-left: auto; /* Centering container */
    margin-right: auto; /* Centering container */
    gap:var(--margin-xs);
    margin-bottom:16px;
}

.admin-main-container{
    display: flex;
    width:100%;
	min-height: 75vh;
    flex-direction: column;
    align-items: flex-start; /* Vertically centers content within each section */
    justify-content: flex-start;
    margin-left: auto; /* Centering container */
    margin-right: auto; /* Centering container */
    gap:var(--margin-xs);
    margin-bottom:16px;
}

#userTableContainer {
    width: 95%; /* Full width for the container */ 
	 margin: 0 auto;
	 padding: 10px; 
}

#userContentContainer {
    width: 95%; /* Full width for the container */
	margin: 0 auto;
	padding: 10px; 
}

#userContentMessages {
    width: 95%; /* Full width for the container */
	margin: 0 auto;
	padding: 10px; 
}

#adminTableContainer {
    width: 95%; /* Full width for the container */ 
	 margin: 0 auto;
	 padding: 10px; 
}

#adminContentContainer {
    width: 95%; /* Full width for the container */
	margin: 0 auto;
	padding: 10px; 
}

#adminContentMessages {
    width: 95%; /* Full width for the container */
	margin: 0 auto;
	padding: 10px; 
}

.default-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Ensures both text and image start at the same left position */
    justify-content: flex-start;
    width: 100%; /* Full width */
    max-width: 800px; /* Ensures both elements are aligned */
    margin-left: auto;
    margin-right: auto;
}

.default-message {
    font-size: 1.2rem; /* Slightly larger text for better readability */
    color: var(--strong-blue, #2c3e50); /* Use a strong color (fallback: dark blue) */
    font-weight: 600; /* Slightly bold for emphasis */
    margin-bottom: 16px; /* Space between text and image */
    background-color: var(--light-gray, #f8f9fa); /* Background only covers text width */
    border-radius: 8px; /* Rounded corners */
    display: inline-block; /* Background color only covers text width */
    max-width: 800px; /* Ensures it does not exceed 800px */
    text-align: left; /* Align text to the left */
    padding: 5px 10px; /* Add spacing inside the box */
    box-sizing: border-box; /* Ensures padding is included within width */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); /* Soft shadow effect */
    white-space: nowrap; /* Prevents breaking text into multiple lines */
}


.default-image {
    width: 100%;  /* Make it responsive within the parent container */
    max-width: 600px; /* Ensure it does not exceed 800px width */
    height: auto;  /* Maintain aspect ratio */
    max-height: 600px; /* Ensure it does not exceed 800px height */
    display: block; /* Remove extra spacing below the image */
    margin-top: 10px; /* Spacing between text and image */
    object-fit: contain; /* Ensures the image is fully visible within constraints */
    border-radius: 15px; 
}


.top-margin {
    margin-top:var(--margin-xxl);
 }

 .course-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

.course-table th, .course-table td {
	border: 1px solid #ddd;
	padding: 8px;
    font-size: 16px;
	text-align: left;
}

.course-table th {
	background-color: #f2f2f2;
	font-weight: bold;
}

.course-table tr:nth-child(even) {
	background-color: #f9f9f9;
}

.course-table tr:hover {
	background-color: #ddd;
}

.course-heading {
color: var(--strong-blue); 
font-family: Arial, sans-serif;
font-size: var(--font-size-h3); 
font-weight:var(--font-weight-semibold);
margin-bottom:8px;
text-align: center;
}

.course-buttons {
background-color: var(--strong-blue);
color: white;
padding: 8px;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 1rem;
max-width: 250px; /* Set a maximum width for the button */
margin-top: 8px;
}

.course-buttons:disabled {
    background-color: grey;
    cursor: not-allowed;
    opacity: 0.6;
}

.course-buttons:hover {
background-color: var(--hover-butn-for-strong-blue);
}

/* ✅ Large Desktops (min-width: 1920px) */
@media (min-width: 1920px) {
    .user-main-container {
        max-width: 1400px; /* Expanding content area for larger screens */
        padding: 20px;
    }

    .admin-main-container {
        max-width: 1400px; /* Expanding content area for larger screens */
        padding: 20px;
    }

    .default-message {
        font-size: 1.5rem; /* Slightly larger text */
    }

    .course-buttons {
        font-size: 1.1rem; /* Slightly larger buttons */
        padding: 10px;
        max-width: 280px;
    }
}

/* ✅ Standard Laptops (max-width: 1280px) */
@media (max-width: 1280px) {
    .user-main-container {
        max-width: 1100px;
        padding: 15px;
    }

    .admin-main-container {
        max-width: 1100px;
        padding: 15px;
    }

    #userTableContainer,
    #userContentContainer,
    #userContentMessages {
        width: 90%; /* Slightly smaller width */
    }

    #adminTableContainer,
    #adminContentContainer,
    #adminContentMessages {
        width: 90%; /* Slightly smaller width */
    }

    .default-content-wrapper {
        max-width: 700px; /* Reduce width for a tighter layout */
    }

    .default-message {
        font-size: 1.1rem;
    }

    .course-buttons {
        font-size: 1rem;
        max-width: 240px;
    }
}


/* ✅ Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .user-main-container {
        max-width: 900px;
        padding: 15px;
    }

    .admin-main-container {
        max-width: 900px;
        padding: 15px;
    }

    #userTableContainer,
    #userContentContainer,
    #userContentMessages {
        width: 85%; /* Reduce container width */
    }

    #adminTableContainer,
    #adminContentContainer,
    #adminContentMessages {
        width: 85%; /* Slightly smaller width */
    }

    .default-content-wrapper {
        max-width: 600px;
    }

    .default-message {
        font-size: 1rem;
    }

    .course-buttons {
        font-size: 0.95rem;
        max-width: 220px;
    }
}