/* Main Content Container */
.main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 20px 0;
    padding: 20px;
    background-color: #f9fbfd; /* Light background for content */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Left Pane */
.left-pane {
    flex: 1;
    max-width: 40%;
    padding: 10px;
    background-color: #ffffff; /* White background */
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.input-section {
    margin-bottom: 15px;
}

.input-section label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 0.95em;
    color: #333;
}

.select-box, .text-box {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95em;
    background-color: #f9fbfd;
    transition: border-color 0.3s ease;
}

.select-box:focus, .text-box:focus {
    border-color: #007bff; /* Highlight on focus */
    outline: none;
}

#syllabus-container {
    margin-top: 20px;
}

/* Right Pane */
.right-pane {
    flex: 1.5;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Syllabus Details */
.syllabus-details {
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #555;
}

.syllabus-details h3 {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
}

/* Questions Section */
#questionsOutput {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    background-color: #f9fbfd;
}

#questions {
    font-size: 1em;
    color: #333;
    line-height: 1.5;
}

/* Button Container */
.button-container {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    font-size: 0.95em;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.left-buttons,
.right-button {
    display: flex;
    gap: 10px;
}

.right-button {
    margin-left: auto;
}

.btn-report {
    background-color: #fd7e14; /* Bootstrap "danger" red */
}

.btn-report:hover {
    background-color: #fd7e14;
}

.btn:hover {
    background-color: #04020f;
}

/* Loading and Evaluating Messages */
.loading-message, .evaluating-message {
    margin-top: 10px;
    font-size: 0.95em;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        gap: 15px;
    }

    .left-pane, .right-pane {
        max-width: 100%;
    }

    .button-container {
        flex-direction: column;
        align-items: stretch;
    }
}


/* Logo Column */
.logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px; /* Add some padding around the logo */
}

.logo-col img {
    max-width: 100px; /* Ensure the logo is not too large */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Rounded edges for a softer look */
    transition: transform 0.3s ease; /* Add smooth hover animation */
}

.logo-col img:hover {
    transform: scale(1.1); /* Slightly enlarge the logo on hover */
    cursor: pointer; /* Show pointer on hover for interactivity */
}

/* For larger screens */
@media (min-width: 768px) {
    .logo-col img {
        max-width: 150px; /* Slightly larger logo for bigger screens */
    }
}

/* Ensure Header Layout Responsiveness */
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
