/* ==========================================================================
   Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f0f5ff;  /* Lighter blue background */
    color: #2c3e50;  /* Darker text for better readability */
    padding-top: 80px;
}

/*  Layout & Grid */
.row {
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
    height: 25px;
    background-color: #e0f0ff;
}

.column2 {
    flex: 1;
    height: 25px;
    background-color: #005bb5;
}

/* Components*/

/* Training Cards */
.training-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.training-card:hover {
    transform: translateY(-5px);
}

.training-card img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.training-card h3 {
    margin: 1rem 0 0.5rem;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: auto;
}

/* Buttons */
.button,
.admin-button,
.edit-button,
.delete-button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button {
    background-color: #1d1e2c;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
    margin-top: 10px;
}

.admin-button {
    background: linear-gradient(to right, #4299e1, #3182ce);
    color: white;
    padding: 12px 24px;
    width: 100%;
}

.admin-button:hover {
    background: linear-gradient(to right, #3182ce, #2c5282);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.edit-button {
    background-color: #4CAF50;
    color: white;
}

.edit-button:hover {
    background-color: #45a049;
}

.delete-button {
    background-color: #dc3545;
    color: white;
}

.delete-button:hover {
    background-color: #c82333;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f8faff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    background-color: #ffffff;
}

/* File Inputs */
input[type="file"] {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px dashed #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.3s;
}

input[type="file"]:hover {
    border-color: #008cff;
}

/* Admin Dashboard*/
.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 40px;
}

.admin-header h1 {
    color: #2c5282;
    font-size: 32px;
    margin-bottom: 10px;
}

.admin-header p {
    color: #4a5568;  /* Softer text color */
    font-size: 16px;
}

.admin-section {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid #e2e8f0;
}

.admin-section h2 {
    color: #2c5282;  /* Matching header color */
    margin-bottom: 20px;
    font-size: 24px;
}

.content-form {
    max-width: 800px;
    margin: 0 auto;
}

/* Announcements */
.announcement {
    position: fixed;
    top: 60px;
    width: 100%;
    z-index: 999;
    transition: transform 0.3s ease-out;
}

.announcement.closed {
    transform: translateY(-100%);
}

.alert {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.announcement-content {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    position: relative;
}

#announcement-text {
    display: inline-block;
    animation: ticker 20s linear infinite;
    padding-left: 100%;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: normal;
    line-height: normal;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.closebtn {
    color: white;
    font-weight: bold;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 15px;
    flex-shrink: 0;
}

.closebtn:hover {
    color: #ff4757;
}

/* Responsive Design*/
@media (max-width: 768px) {
    .admin-container {
        margin: 10px;
        padding: 15px;
    }

    .login-form {
        margin: 20px auto;
        padding: 20px;
    }

    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .training-card {
        width: 100%;
    }
}

/*Utilities*/
.loading-message {
    text-align: center;
    padding: 20px;
    color: #666;
}

.error-message {
    color: #c53030;
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.image-preview {
    margin: 15px 0;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Training List Styles*/
#trainingsList {
    list-style: none;
    padding: 0;
}

#trainingsList li {
    background: linear-gradient(to right, #ffffff, #f8faff);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

#trainingsList li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.training-content {
    flex: 1;
    padding-right: 15px;
}

.training-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

#trainingsList h3 {
    color: #2c5282;
    margin: 0 0 10px 0;
    font-size: 18px;
}

#trainingsList p {
    color: #4a5568;
    margin: 5px 0;
    font-size: 14px;
}

#trainingsList img {
    max-width: 200px;
    border-radius: 6px;
    margin: 10px 0;
}

#trainingsList a {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

#trainingsList a:hover {
    color: #2c5282;
}

/*Announcement List Styles*/
#announcementsList {
    list-style: none;
    padding: 0;
}

#announcementsList li {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#announcementsList .announcement-content {
    flex: 1;
    margin-right: 20px;
}

#announcementsList .training-actions {
    display: flex;
    gap: 10px;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-left: 15px;
}

.delete-button:hover {
    background-color: #c82333;
}

/* Slideshow*/
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.slideshow-container img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.8);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.9);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/*Admin Features*/
.admin-links {
    display: none;
}

.unauthorized-message {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 500px;
}

.unauthorized-message h2 {
    color: #dc3545;
    margin-bottom: 20px;
}

/* Course Links*/
.modal-buttons {
    margin-top: 20px;
    text-align: center;
}

.course-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0039e6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.course-button:hover {
    background-color: #002db3;
}

/* Footer*/
footer {
    background-color: #1e3a8a;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

footer a {
    color: white;
    padding: 7px 10px;
    text-decoration: none;
    text-align: center;
}

footer a:hover {
    background-color: #3b82f6;
    border-radius: 100px;
}

/* Admin Dashboard Styles*/
.admin-nav-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.admin-nav-buttons .admin-button {
    width: auto;
    min-width: 120px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-primary {
    background: linear-gradient(to right, #4299e1, #3182ce);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(to right, #3182ce, #2c5282);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-danger {
    background: linear-gradient(to right, #f56565, #e53e3e);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(to right, #e53e3e, #c53030);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#announcement-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    resize: vertical;
    min-height: 60px;
    background-color: #f8faff;
    transition: all 0.3s ease;
}

#announcement-input:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    background-color: #ffffff;
}

.announcement-item {
    background: linear-gradient(to right, #ffffff, #f8faff);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#announcements-list {
    margin-top: 20px;
}

#logoutButton {
    margin-top: 20px;
}

#logoutButton:hover {
    background-color: #f44336;
}

.loading-indicator {
    margin-top: 10px;
    display: none;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background-color: #0039e6;
    transition: width 0.3s ease;
}

#uploadStatus {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    text-align: center;
}

/* Remove any custom button styles from training list */
#trainingsList .training-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s;
}

#trainingsList .training-actions .edit-button {
    background-color: #4CAF50;
    color: white;
}

#trainingsList .training-actions .edit-button:hover {
    background-color: #45a049;
}

#trainingsList .training-actions .delete-button {
    background-color: #dc3545;
    color: white;
}

#trainingsList .training-actions .delete-button:hover {
    background-color: #c82333;
}

/* Navigation and Header*/
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #008cff;
    padding: 10px 20px;
    color: white;
    box-sizing: border-box;
}

.navbar a:hover {
    border-radius: 20px;
    background-color: #1e3a8a;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    color: white;
    padding: 7px 10px;
    text-decoration: none;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

/* Hero Section*/
.hero {
    background-color: #0029ff;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
}

/*  Main Content Sections*/
.section:not(.admin-section) {
    padding: 60px 20px;
    text-align: center;
}

.section:not(.admin-section) h2 {
    color: #0029ff;
    font-size: 32px;
    margin-bottom: 10px;
}

.subheading {
    font-size: 16px;
    color: #444;
    margin-bottom: 40px;
}

.blue-section {
    background-color: #005bb5;
    padding: 20px;
}

/* Cards and Containers*/
.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.training-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.training-card:hover {
    transform: translateY(-5px);
}

.training-card img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.training-card h3 {
    margin: 1rem 0 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    margin: auto;
}

.modal-content img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
}

.modal .close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.modal .close:hover {
    color: #000;
}

.modal h2 {
    margin-bottom: 20px;
    color: #0039e6;
    font-size: 24px;
}

.modal .form-group {
    margin-bottom: 20px;
}

.modal .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.modal .form-group input[type="text"],
.modal .form-group input[type="url"],
.modal .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
}

.modal .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.modal .image-preview {
    margin: 15px 0;
    text-align: center;
}

.modal .image-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal .image-note {
    color: #666;
    font-size: 14px;
    margin-top: 5px;
    font-style: italic;
}

.modal .admin-button {
    width: 100%;
    margin-top: 20px;
}

/* Buttons */
.button {
    background-color: #1d1e2c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.edit-button {
    background-color: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.edit-button:hover {
    background-color: #45a049;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.delete-button:hover {
    background-color: #c82333;
}

/*Layout and Spacing*/
.row {
    display: flex;
    gap: 20px;
}

.column {
    flex: 1;
    height: 25px;
    background-color: #e0f0ff;
}

.column2 {
    flex: 1;
    height: 25px;
    background-color: #005bb5;
}

/* Slideshow*/
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.slideshow-container img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 8px;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.8);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.9);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Admin Features */
.admin-links {
    display: none;
}

.unauthorized-message {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 500px;
}

.unauthorized-message h2 {
    color: #dc3545;
    margin-bottom: 20px;
}

/*Footer*/
footer {
    background-color: #1e3a8a;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

footer a {
    color: white;
    padding: 7px 10px;
    text-decoration: none;
    text-align: center;
}

footer a:hover {
    background-color: #3b82f6;
    border-radius: 100px;
}

/* Responsive Design*/
@media (max-width: 768px) {
    .admin-container {
        margin: 10px;
        padding: 15px;
    }

    .login-form {
        margin: 20px auto;
        padding: 20px;
    }

    .admin-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }

    #trainingsList img {
        max-width: 100%;
        height: auto;
    }
}

/* Survey Styles*/
.survey-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.survey-container h2 {
    color: #0039e6;
    margin-bottom: 30px;
    text-align: center;
}

.question {
    margin-bottom: 30px;
}

.question p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.rating input[type="radio"] {
    display: none;
}

.rating label {
    font-size: 30px;
    cursor: pointer;
    transition: transform 0.2s;
}

.rating label:hover {
    transform: scale(1.2);
}

.rating input[type="radio"]:checked + label {
    transform: scale(1.2);
}

.survey-container textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 20px;
}

.survey-container textarea:focus {
    outline: none;
    border-color: #0039e6;
    box-shadow: 0 0 0 2px rgba(0, 57, 230, 0.1);
}

.survey-container button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #4299e1, #3182ce);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.survey-container button[type="submit"]:hover {
    background: linear-gradient(to right, #3182ce, #2c5282);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .survey-container {
        margin: 20px;
        padding: 20px;
    }
    
    .rating {
        gap: 15px;
    }
    
    .rating label {
        font-size: 24px;
    }
}

/* Feedback List Styles*/
.feedback-list {
    margin-top: 20px;
}

.feedback-item {
    background: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.feedback-rating {
    font-size: 18px;
    color: #2d3748;
}

.feedback-date {
    color: #718096;
    font-size: 14px;
}

.feedback-content {
    color: #4a5568;
    line-height: 1.5;
    margin-bottom: 15px;
}

.feedback-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
}

.no-feedback {
    text-align: center;
    color: #718096;
    padding: 20px;
    font-style: italic;
}

#optionalTrainingsList {
    list-style: none;
    padding: 0;
}

#optionalTrainingsList li {
    background: linear-gradient(to right, #ffffff, #f8faff);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

#optionalTrainingsList li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#optionalTrainingsList .training-content {
    flex: 1;
    padding-right: 15px;
}

#optionalTrainingsList .training-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

#optionalTrainingsList h3 {
    color: #2c5282;
    margin: 0 0 10px 0;
    font-size: 18px;
}

#optionalTrainingsList p {
    color: #4a5568;
    margin: 5px 0;
    font-size: 14px;
}

#optionalTrainingsList img {
    max-width: 200px;
    border-radius: 6px;
    margin: 10px 0;
}

#optionalTrainingsList a {
    color: #4299e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

#optionalTrainingsList a:hover {
    color: #2c5282;
}

#roomsList {
    list-style: none;
    padding: 0;
}

#roomsList li {
    background: linear-gradient(to right, #ffffff, #f8faff);
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

#roomsList li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#roomsList h3 {
    color: #2c5282;
    margin: 0 0 10px 0;
    font-size: 18px;
}

#roomsList p {
    color: #4a5568;
    margin: 5px 0;
    font-size: 14px;
}

#roomsList img {
    max-width: 200px;
    border-radius: 6px;
    margin: 10px 0;
}

/* Responsive hero/banner image height */
#hero-section img, .hero img {
  width: 100%;
  height: 720px;
  object-fit: contain;
  border-radius: 0;
  background: #008cff;
}

@media (max-width: 900px) {
  #hero-section img, .hero img {
    height: 540px;
  }
}

@media (max-width: 600px) {
  #hero-section img, .hero img {
    height: 360px;
  }
}

#hero-section {
  margin-top: 60px;
}