/*------------------CSUK MEMBERSHIP INFO--------------------*/

/* Icon row styling */
.dashboard-icons-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.dashboard-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    width: 125px;
}

.dashboard-icon p{
	font-size: 12px;
}

.circular-icon {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.dashboard-icon:hover .circular-icon {
    transform: scale(1.1);
}

/* Container for all membership boxes */
.membership-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    padding: 10px;
}

/* Individual membership box styling */
.membership-box {
    flex: 1 1 250px; /* Responsive width */
    min-width: 200px; /* Ensure boxes don't get too small */
    max-width: 300px; /* Set a max width for large screens */
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-box:hover {
    transform: scale(1.05); /* Subtle scaling effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25); /* Enhanced shadow on hover */
}

/* Heading within each box */
.membership-box h4 {
    font-size: 1em;
    margin: 0 0 10px;
    color: white;
}

/* General text inside boxes */
.membership-box p {
    font-size: 0.75em;
    margin: 6px 0; /* Tight spacing */
    line-height: 1.4;
}

/* Button styles */
.btn-renew, .btn-join, #joinTeamButton {
	margin-top: 10px;
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.7em;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Renew button */
.btn-renew {
    background-color: transparent;
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.btn-renew:hover {
    background-color: #4CAF50;
    color: white;
}

/* Join button */
.btn-join {
    background-color: transparent;
    border: 2px solid #007BFF;
    color: #007BFF;
}

.btn-join:hover {
    background-color: #007BFF;
    color: white;
}

#joinTeamId {
	width: 100%;
    font-size: 0.75em;
}

/* Toggle section styling */
.toggle-div {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle transparency */
    padding: 8px 12px;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.toggle-div:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25);
}

/* Inner text for toggle */
.toggle-div p {
    font-size: 0.9em;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Collapsible content */
.collapsible-content {
    padding: 12px 15px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f7f7f7;
    color: #333;
    font-size: 0.9em;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .membership-box {
        padding: 12px;
    }

    .membership-box h4 {
        font-size: 1.1em;
    }

    .membership-box p, .toggle-div p {
        font-size: 0.85em;
    }

    .btn-renew, .btn-join {
        padding: 6px 10px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .membership-container {
        flex-direction: column;
        gap: 12px;
    }

    .membership-box {
        max-width: 100%;
        padding: 10px;
    }
}

/* Modal styling */

/* Modal fade-in animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive layout */
@media (max-width: 768px) {
    .dashboard-icon {
        width: 70px;
    }
    
    .circular-icon {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 500px) {
    .dashboard-icons-container {
        gap: 10px;
    }
}

.add-trial-membership-button:disabled,
.add-trial-membership-button.disabled {
    background-color: #cccccc; /* Light gray background */
    color: #666666; /* Dark gray text */
    cursor: not-allowed; /* Indicate the button is not clickable */
    opacity: 0.6; /* Add transparency */
    border-color: #aaaaaa; /* Optional: Adjust border color */
}


#membership-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 9999999;
}

#manageTeamModal, #contact-modal, #review-modal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 9999999;
    overflow-y: auto; /* Enable scrolling for the modal overlay */
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
}

/* Modal content container */
.modal-content {
	position: relative;
    background-color: #ffffff;
    margin: 5% auto;
    padding: 15px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    max-height: 90vh; /* Restrict height to 90% of the viewport */
    overflow-y: auto; /* Enable scrolling for content that exceeds max-height */
}

/* Header */
.modal-header {
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 10px;
}

/* Instructions list */
.modal-content ul {
    padding-left: 20px;
    margin: 0;
    list-style-type: disc;
    color: #555;
}

.modal-content ul li {
    margin-bottom: 6px;
    line-height: 1.5;
}

/* Body layout */
.modal-body {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
}
/* Left and right column styling */
.modal-left,
.modal-right {
    flex-basis: 48%;
    flex-grow: 0;
}

/* Form labels */
.modal-content label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
    margin-bottom: 6px;
}

/* Input styling */
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    font-size: 0.95em;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content input[type="password"]:focus {
    border-color: #4A90E2;
    outline: none;
}

/* Button styling */
.modal-content button {
    background-color: #4A90E2;
    color: white;
    border: none;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    font-size: 0.9em;
}

.modal-content button:hover {
    background-color: #357ABD;
}

/* Close button */
.close {
    font-size: 1.5em;
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
}

.close:hover {
    color: #000;
}


.team-id-section h4 {
    font-size: 1.3em;
    color: #4A90E2;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-id-section p {
    font-size: 1em;
    color: #555;
    line-height: 1;
}

/* Remaining slots and team members list */
#remainingSlots {
    font-weight: bold;
    color: #4A90E2;
}

#teamMembersList li {
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95em;
}

#teamMembersList .remove-member {
    background: none;
    border: none;
    color: #FF5C5C;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.9em;
    transition: color 0.2s ease;
}

#teamMembersList .remove-member:hover {
    color: #D94D4D;
}



/*------------------CSUK CALENDAR--------------------*/

#csuk-teacher-calendar-container {
    overflow-y: auto;
    height: 500px;
}

#csuk-teacher-calendar {
    display: grid;
    grid-template-columns: 60px repeat(7, 1fr); /* Time column + 7 day columns */
    max-width: 1000px;
    margin: auto;
}

.csuk-header-row {
    display: contents;
}

.csuk-time-header, .csuk-day-header {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
    font-weight: bold;
    position: sticky;
    top: 0; /* This makes the header sticky */
    background-color: white; /* To ensure the background is not transparent when scrolling */
    z-index: 2; /* Higher z-index */
}

.csuk-hours-column {
    display: grid;
    grid-template-rows: repeat(24, 60px); /* Make sure this matches the height of .csuk-hour-section */
    text-align: right;
    background-color: #f9f9f9;
    border-right: 1px solid #ddd;
    position: sticky;
    top: 44px; /* Adjust to the height of the header row */
    z-index: 1;
}

.csuk-hour-label {
    padding-top: 10px;
    text-align: center;
	border: 1px solid #ddd;
	box-sizing: border-box;
}

.csuk-hours {
    position: relative; /* This will be the positioning context for entry boxes */
    display: grid;
    grid-template-columns: repeat(7, 1fr); /* 7 columns for 7 days */
    grid-column: 2 / -1; /* Starting from the second column to the end */
}

.csuk-hour-section {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    height: 60px; /* Ensure it matches the height of .csuk-hour-label */
	box-sizing: border-box; /* To include padding and border in the element's total width and height */
}

.csuk-hour-section:hover {
    background-color: #f0f0f0;
}

/*------------------CSUK LOADED CALENDAR ENTRIES--------------------*/

.csuk-entry-box {
    position: absolute;
    width: calc((100% / 7) - 20px);
    overflow: hidden;
    margin-left: 10px;
	margin-right: 10px;
    border-radius: 10px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
}

.csuk-entry-box:hover {
    transform: translateY(-5px);
	cursor: pointer;
}

/*------------------CSUK CALENDAR MODAL--------------------*/


#csuk-calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

#csuk-calendar-modal form {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 100%;
}

#csuk-calendar-modal label {
    display: block;
    margin-bottom: 5px;
}

#csuk-calendar-modal input, #csuk-calendar-modal textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#csuk-calendar-modal button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#csuk-calendar-modal button:hover {
    background-color: #0056b3;
}

/*---------------------aiAnna Interface-----------------*/

.aianna-interface {
    display: flex;
    width: 100%;
}

.aianna-menu {
    width: 20%;
    border-right: 1px solid #ddd;
}

.aianna-content {
    width: 80%;
	padding: 10px;
}

.aianna-menu .menu-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}

.content-item {
    display: none;
    padding: 10px;
}

/* Optional Styling */
.aianna-menu .menu-item:hover {
    background-color: #f0f0f0;
}

.aianna-menu .menu-icon {
    height: 20px;  /* Adjust the size as needed */
    width: 20px;   /* Adjust the size as needed */
    margin-right: 5px;
    vertical-align: middle;
}

.aianna-menu .menu-header {
    /* Add your desired styles for the header */
    padding: 10px;
    text-align: center;
}

.aianna-menu .menu-header-icon {
    /* Adjust the size as needed */
    height: 50px;  /* Example size */
    width: 50px;   /* Example size */
}

.eai-icons-container, .eai-saf-icons-container, .eai-af-icons-container {
    display: inline-flex; /* Display icons inline */
    align-items: center; /* Align vertically */
    gap: 10px; /* Space between icons */
}

.eai-download-icon, .eai-info-icon, .eai-saf-download-icon, .eai-saf-info-icon, .eai-af-download-icon, .eai-af-info-icon {
    cursor: pointer; /* Change cursor on hover */
    width: 24px; /* Adjust icon size */
    height: 24px; /* Adjust icon size */
}

/* Modal styles */
.eai-modal, .eai-saf-modal, .eai-af-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.eai-modal-content, .eai-saf-modal-content, .eai-af-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 65%;
}

.eai-close, .eai-saf-close, .eai-af-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.eai-close:hover,
.eai-close:focus,
.eai-saf-close:hover,
.eai-saf-close:focus,
.eai-af-close:hover,
.eai-af-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.eai-content-container, .eai-saf-content-container, .eai-af-content-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.eai-text-container, .eai-saf-text-container, .eai-af-text-container {
    width: 80%; /* Text takes up 80% width */
}

.eai-icons-container, .eai-saf-icons-container, .eai-af-icons-container {
    width: 20%; /* Icons take up 20% width */
    display: flex;
    justify-content: space-evenly; /* Evenly space the icons */
    align-items: center;
}

.eai-download-icon, .eai-info-icon, .eai-saf-download-icon, .eai-saf-info-icon, .eai-af-download-icon, .eai-af-info-icon {
    cursor: pointer;
    width: 35px; /* Adjust icon size */
    height: 35px; /* Adjust icon size */
}


/* CSUK Trial Download Limit Notification */


.csuk-trial-notification-class {
    position: fixed;
    top: 40px;
    right: 10px;
    background-color: rgba(0, 123, 255, 0.6); /* Semi-transparent blue */
    color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
	font-size: 14px;
	text-align: center;
	width: 400px;
}

.csuk-trial-notification-class strong {
    font-size: 16px;
}

@media (max-width: 600px) {
    .csuk-trial-notification-class {
        top: 10px;
        right: 10px;
        width: 90%;
        font-size: 12px;
    }
}

/*----------------------NOTICES---------------------------

/* Wrapper for the notices */
.notices-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading for the notices section */
.notices-heading {
    font-size: 28px;
    color: #333;
    text-align: left;
    margin-bottom: 20px;
}

/* Container for the notices */
.notices-container {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    border-radius: 10px;
    background: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: max-height 0.3s ease;
}

/* Individual notice row */
.notice-row {
    display: flex;
    gap: 15px;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    align-items: center;
    transition: transform 0.2s ease;
}

.notice-row:hover {
    transform: scale(1.01);
}

/* Notice image */
.notice-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Notice content */
.notice-content {
    flex-grow: 1;
	width: 100%;
}

.notice-content h3 {
    font-size: 1.5em;
    color: #333;
    margin: 0;
}

.notice-content .notice-date {
    font-size: 0.9em;
    color: #999;
    margin: 5px 0;
}

.notice-content p {
    margin: 0;
    color: #555;
    font-size: 1em;
}

/*---------------------User Profile Area----------------*/

.user-profile-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.user-avatar-container {
    flex: 0 0 auto;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    border: 2px solid #ddd;
    transition: transform 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

.user-info {
    flex: 0 0 auto;
}

.user-name {
    font-size: 1.5em;
    color: #333;
	margin: 0px !important;
}


.edit-icon {
    font-size: 0.8em;
    color: #0073aa;
    cursor: pointer;
    margin-left: 10px;
}

#avatar-selection-modal, #edit-profile-modal {
	z-index: 9999999;
	display: none;
	position: fixed;
	top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for overlay effect */
    justify-content: center; /* Center the modal horizontally */
    align-items: center; /* Center the modal vertically */
}

.avatar-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.avatar-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.avatar-thumbnail:hover {
    transform: scale(1.1);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above the avatars */
    border-radius: 10px; /* Match modal styling */
    text-transform: uppercase;
}


/* CSUK Assessment Create */

.question {
    border: 1px solid #ccc;
    padding: 5px;
    margin: 5px 0!important;
    cursor: grab; /* This will change the cursor to a "grab" hand */
}

.hidden {
    display: none!important;
}

.question h5,
.question p {
    margin-bottom: 0;
}

#assessment-questions:empty {
    background: #eee; /* This will give the droppable area a light grey background when it's empty */
}

#csuk-assessment-create-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.left-part, .right-part {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.csuk-assessment-create-page-title h2 {
    margin: 0;
}

.csuk-assessment-filter {
    height: auto;
    width: 25px; 
}

.csuk-assessment-title-icon {
	height: auto;
    width: 50px; 
}

.csuk-assessment-create-category-icon {
    cursor: pointer;
}

#csuk-assessment-create-examboards-parents {
	display: flex;                /* Use flexbox */
    justify-content: space-evenly; /* Evenly space the flex items along the line */
    align-items: center;          /* Align items vertically */
    flex-wrap: wrap;              /* Allow wrapping as needed */
    padding: 10px 0;
    background-color: #f4f4f4; /* Example background color for distinction */
}

#csuk-assessment-create-examboards-parents label {
    margin-right: 15px;           /* Space out labels from their radio buttons */
}

#csuk-assessment-create-examboards-parents input[type="radio"] {
    margin-right: 5px;            /* Space out the radio button from its label */
}

#csuk-assessment-create-category-filter {
    column-count: 3;
    padding: 20px 0;
}

.csuk-assessment-start-hidden {
    display: none !important;
}

.form-assessment-button-container {
	text-align: right;
}

#assessment-submit-button {
    margin: 0 auto;
    padding: 10px 20px;
}

.questionBankQTitle {
	font-weight: bold;
}

.question {
    position: relative; /* Needed for absolute positioning of the tooltip and icon */
    padding: 10px; /* Ensure there's space for content and the icon does not overlap text */
    margin: 10px; /* Optional, for better spacing between questions */
}

.info-icon {
    position: absolute;
    top: 10px;  /* Adjust distance from the top as needed */
    right: 10px; /* Adjust distance from the right as needed */
    cursor: pointer;
    font-size: 16px; /* Adjust size as needed */
}

.tooltip {
    display: none;
    position: absolute;
    top: 30px; /* Position below the icon */
    left: 40%;
    transform: translateX(-45%);
    background-color: #ffffff; /* Clean white background */
    color: #333; /* Darker text for better readability */
    border: 1px solid #bbb; /* Subtle border */
    padding: 15px; /* Spacious padding for content */
    z-index: 99999;
    width: 400px; /* Adjustable width */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* Smoother shadow for 3D effect */
    border-radius: 8px; /* Rounded corners */
    text-align: left;
    font-family: Arial, sans-serif; /* Modern font */
	line-height: 1.5; /* Better line spacing */
}


.question-categories {
	font-size: 8px;
	font-weight: bold;
}

#csuk-assessment-create-questions-and-assessment {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
	width: 100%;
}

#question-bank, #assessment-questions {
    width: calc(48% - 10px);
    height: 600px; 
    border: 1px solid #ccc;
    padding: 20px;
    overflow: auto;
}

#csuk-assessment-create-trash {
    flex-grow: 1;
    display: flex;
    justify-content: center;  /* These two lines will center your trash icon. */
    align-items: center;
    border: 1px solid #ccc;  /* Optional: add a border to see the area. */
    transition: transform 0.1s ease;
    height: 600px;  /* Adapt to your needs. */
	font-size: 50px;
 }


#csuk-assessment-create-trash.ui-state-hover {
    color: red; /* Change icon color to red when a question is dragged over it */
}

#csuk-assessment-create-time-selectors {
	clear: both;
    display: flex;
    justify-content: space-between;
}

.questionBankCatText {
	font-size: 14px;
	margin: 0px!important;
	font-weight: bold;
}

.questionBankQText {
	font-size: 11px;
}

.questionBankcatexamText{
	font-size: 8px;
}

.ui-draggable {
	border-radius: 10px;
}

.form-container {
    width: 100%;
    
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-field {
    flex: 0 0 calc(33% - 20px); /* assumes a gap of 20px */
    margin-bottom: 20px; /* space between rows */
}

.form-field label {
    display: block;
    margin-bottom: 5px;
}

.form-field input, 
.form-field select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.csuk-assessment-filter {
    width: 50px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for transform and shadow */
    transform: scale(1); /* Default scale */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Default shadow to show depth */
}

.csuk-assessment-filter:hover {
    transform: scale(1.05); /* Slightly larger scale on hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Increased shadow to enhance lifting effect */
}


.label-with-icon {
    display: flex;
    align-items: center;
}

.csuk-exb-info-icon {
    position: relative; /* Ensures that the tooltip is positioned relative to the icon */
    cursor: pointer; /* Changes the cursor to a pointer to indicate interactivity */
	left: 10px;
}

.csuk-exb-info-icon:hover::after {
    content: attr(tooltip);
    position: absolute;
    left: 100%; /* Positions the left edge of the tooltip at the right edge of the icon */
    top: 0; /* Aligns the top of the tooltip with the top of the icon */
    white-space: pre-line;
    z-index: 1000;
    background-color: #f9f9f9;
    color: #333;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    padding: 10px;
    width: 400px;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.2);
    transform: translateX(10px); /* Moves the tooltip slightly to the right of the icon */
}


.csuk-assessment-create-tooltip {
    background-color: #f9f9f9;
    border: 1px solid #d3d3d3;
    padding: 10px;
    border-radius: 5px;
    position: absolute;  /* controlled by JavaScript */
    z-index: 1000;
    width: 700px;
    display: none; /* Hidden by default, shown by jQuery */
}

.marking-table {
    width: 100%;
    border-collapse: collapse;
}

.marking-table th,
.marking-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.marking-list {
    list-style-type: none;
    padding: 0;
}

.csuk_assessment_hidden {
    display: none;
}
.csuk_assessment_visible {
    display: block;
}

.csuk_question_hidden {
    display: none;
}

/* Assessment Create - Assessment Drop Downs*/

.assessment-section {
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.assessment-section h2 {
    color: #333;
    font-family: Arial, sans-serif;
}

.assessment-section p {
    font-family: Arial, sans-serif;
    color: #666;
    font-size: 14px;
}

.assessment-dropdown {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.assessment-dropdown:focus {
    border-color: #0056b3;
    outline: none;
}

.ms-parent .ms-choice {
    margin: 0px!important;
    width: 100%!important;
    padding: 8px!important;
    border-radius: 4px!important;
    border: 1px solid #ddd!important;
    background: white!important; /* Make sure to specify the background if needed */
    height: auto!important; /* Adjust height if necessary */
}

.ms-choice>span {
	position: relative!important;
}

.ms-parent .ms-choice:focus, .ms-parent .ms-choice:hover {
    border-color: #0056b3!important;
    outline: none!important;
}

/* Also target the dropdown items */
.ms-drop ul li {
    padding: 8px!important;
    border-radius: 4px!important; /* Consistent with your design */
}

/* Assessment Create - Mode Buttons*/

.mode-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.mode {
    flex-grow: 1;
    padding: 10px 20px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s;
    border: none;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    border-radius: 5px;
}

#edit-mode {
    background-color: #f0ad4e; /* Bootstrap's button-warning color */
}

#clone-mode {
    background-color: #5cb85c; /* Bootstrap's button-success color */
}

#create-mode {
    background-color: #337ab7; /* Bootstrap's button-primary color */
}

#export-mode {
    background-color: #286090; /* Bootstrap's button-primary color */
}

.mode.active, .mode:hover {
    background-color: #286090; /* Darken primary color for hover/active */
}

.mode:not(.active):hover {
    opacity: 0.8;
}

.marking-scheme{
	font-size: 13px
}
#controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0; /* Optional spacing around the container */
}

#language-selector,
#export-buttons {
    display: flex;
    align-items: center;
}

#language-selector select,
#language-selector button,
#export-buttons button {
    margin: 0 5px; /* Optional spacing between elements */
}

.assessment-dropdown {
	margin-bottom: 20px;
}

#csuk-assessment-create-form {
	margin-top: 20px;
}

/* General styles for the assessment preview */
#assessment-preview, #markscheme-preview {
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 0 auto;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Heading styles */
#assessment-preview h1, #markscheme-preview h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

#assessment-preview h2, #markscheme-preview h2 {
    font-size: 20px;
    color: #555;
    margin-bottom: 10px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

/* Question container */
.question-container {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
}


/* Code block styling */
pre.code {
    font-family: "Courier New", Courier, monospace;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    color: #333;
    overflow-x: auto; /* Handle long lines gracefully */
    margin-top: 10px;
    white-space: pre-wrap; /* Allow text wrapping */
    font-size: 14px;
}

/* Additional spacing for last question */
.question-container:last-child {
    margin-bottom: 0;
}


/*---------------------TRIAL REQUEST FRONTEND CSS----------------*/

#csuk-trial-form-container {
    max-width: 600px;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    margin: 20px auto;
}

#csuk-trial-form-container h2 {
    color: #333;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

#csuk-trial-form-container p {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.csuk-trial-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.csuk-trial-form input[type="text"],
.csuk-trial-form input[type="email"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.csuk-form-button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    display: block;
    width: 100%;
    font-size: 16px;
}

.csuk-form-button:hover {
    background-color: #004494;
}

#csuk-teacher-trial-response {
    margin-top: 20px;
    padding: 10px;
    color: #d8000c;
    background-color: #ffbaba;
    border-radius: 4px;
    display: none; /* Initially hidden; can be shown via JS */
}



/*---------------------TRIAL REQUEST ADMIN CSS----------------*/


#csuk-trial-request-admin-table {
    width: 100%;
    border-collapse: collapse;
}

#csuk-trial-request-admin-table th, #csuk-trial-request-admin-table td {
    border-bottom: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

#csuk-trial-request-admin-table th {
    background-color: #f1f1f1;
}

#csuk-trial-request-admin-table tr:nth-child(odd) {
    background-color: #fff;
}

#csuk-trial-request-admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.csuk-button-primary {
    background-color: #007cba;
    border-color: #007cba;
    color: #fff;
}

.csuk-button-primary:hover {
    background-color: #005fa3;
    border-color: #005fa3;
}

.csuk-button-secondary {
    background-color: #ccc;
    border-color: #ccc;
    color: #333;
}

.csuk-button-secondary:hover {
    background-color: #bbb;
    border-color: #bbb;
}



/* Modal Background */
.csuk-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Modal Content Box */
.csuk-modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 900px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close Button */
.csuk-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* OK Button */
#csukModalCloseBtn {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#csukModalCloseBtn:hover {
    background-color: #005f8b;
}

/* Image Styling */
.csuk-clickable-image {
    cursor: pointer;
    max-width: 100px!important;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift effect on hover */
.csuk-clickable-image:hover {
    transform: translateY(-5px); /* Moves image up by 5px */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}

.csuk-trial-form label {
    display: block; /* Ensures each label is on its own line */
    text-align: left; /* Aligns text to the left */
    font-weight: bold; /* (Optional) Makes labels more readable */
    margin-bottom: 5px; /* Adds spacing between label and input */
}


/******************** 🔍 Resource Search box styles *******************/

#csuk-resource-search-container {
    flex: 1;              /* take remaining available space */
    max-width: 50%;       /* but never more than 80% of parent */
    min-width: 250px;     /* don’t shrink to nothing */
    margin-left: auto;    /* push it right */
	position: relative;
}

#csuk-resource-search-form {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    border-radius: 30px;
    padding: 5px 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box; /* ✅ ensures padding doesn't cause overflow */
}

#csuk-resource-search-form input[type="text"] {
    flex: 1;               /* input stretches */
    min-width: 0;          /* ✅ allows shrinking on narrow screens */
}

@media (max-width: 900px) {
    .user-profile-section {
        flex-direction: column; /* stack vertically */
        align-items: center;    /* ✅ center horizontally */
        text-align: center;     /* optional, centers text like "Welcome Sam" */
    }

    #csuk-resource-search-container {
        max-width: 100%;   
        margin-left: 0;
        margin-top: 10px;
    }

    #csuk-resource-search-form {
        width: 100%;
        max-width: 600px;  /* cap so it doesn’t look too wide on tablets */
    }
}




#csuk-resource-search-form input[type="text"] {
    flex: 1;                       /* input takes all available width */
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 20px;
}

#csuk-resource-search-form button {
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-left: 8px;             /* small gap from input */
}

#csuk-resource-search-form button:hover {
    background: #005f8a;
}

/* 📋 Results styling */
#csuk-resource-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    max-height: 300px;
    overflow-y: auto;
}



.csuk-search-result:hover {
    background: #fafafa;
    border-radius: 6px;
}

/* Title */
.csuk-result-title {
    font-size: 18px;
    font-weight: 500;
    color: #1a0dab;
    text-decoration: none;
}

.csuk-result-title:hover {
    text-decoration: underline;
}

/* URL line */
.csuk-result-url {
    font-size: 13px;
    color: #006621;
    margin: 2px 0 4px 0;
    word-break: break-all;
}

/* Snippet text */
.csuk-result-snippet {
    font-size: 14px;
    color: #545454;
}

/* File type labels */
.csuk-type-labels {
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-left: 6px;
}


/* Glow effect */
.wpdm-highlight {
    border-radius: 12px;          /* 🔹 increase radius for softer corners */
    animation: glowPulse 1s ease-in-out 0s 3 forwards;
}

@keyframes glowPulse {
    0%   { box-shadow: 0 0 5px rgba(255,152,0,0.5); }
    50%  { box-shadow: 0 0 40px rgba(255,152,0,1); }
    100% { box-shadow: 0 0 0 rgba(255,152,0,0); }
}


/*---------------------Unified NavBar-----------------

#sfm-sidebar {
	padding-top: 55px!important;
}

.superfly-on #sfm-mob-navbar {
	margin-top: 55px;
}

body {
	padding-top: 60px!important;
}

#csuk-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3000002;
    background: linear-gradient(to bottom, rgba(229, 153, 0, 1) 100%, transparent);
    display: flex;
    align-items: center;
    justify-content: space-around;
	padding: 10px;
}

#csuk-navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
	width: 90%;
    justify-content: space-around;
}


.csuk-nav-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    border: 0px solid #fff; 
    padding: 5px 5px; 
    margin: 0 5px; 
    border-radius: 5px; 
    transition: all 0.3s ease; 
}

.csuk-nav-item:not(.title):hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.csuk-nav-item.title {
    cursor: default;
	font-weight: bold;
}

.csuk-nav-item img {
    height: 30px;
    width: 30px;
    margin-right:10px;
}

.csuk-info {
    display: none;
    position: absolute;
    top: 60px;
    width: 90%;
    background-color: white;
    color: black;
    z-index: 3000001;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    border-bottom-left-radius: 10px;  
    border-bottom-right-radius: 10px; 
}


@media (max-width: 600px) {
    .csuk-nav-item span {
        display: none;
    }
    .csuk-nav-item img {
        margin-right: 0;
    }
}

---------------------------------------------------------------------*/