/* Basic reset */

/* Styling the body */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

/* Styling the content area */
.content {
    max-width: none;
    min-width: auto;
    margin: 1em;
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    max-height: 60%;
    overflow-y: auto;
}

/* Styling the table */
.learner-profile-module-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.learner-profile-module-table th,
.learner-profile-module-table td {
    text-align: left;
    padding: 0 1em;
    margin-bottom: 1em;
    border-bottom:none;
}

/* Table headers */
.learner-profile-module-table th {
    color: #333;
    font-weight: bold;
    border-collapse: collapse;
}

/* Table rows */
.learner-profile-module-table tr:hover {
    background-color: #f1f1f1;
}

/* Dropdown for scenarios */
.learner-profile-scenario-dropdown-content {
    display: none;
}

/* Scenario table styling */
.learner-profile-scenario-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 10px;
}

.learner-profile-scenario-table th,
.learner-profile-scenario-table td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

.learner-profile-scenario-table th {
    background-color: #f7f7f7;
    font-weight: bold;
}

.learner-profile-scenario-table tr:hover {
    background-color: #f9f9f9;
}

/* Styling the action buttons */
.trash {
    cursor: pointer;
    color: red;
    font-size: 16px;
}

.trash:hover {
    color: darkred;
}

/* Basic styling for headings and text */
h1, h2, h3 {
    color: #333;
}

p {
    margin-bottom: 10px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .content {
        min-width: min-content;
        margin: 0em;
        padding: 5px;
    }
    .learner-profile-module-table th {
        margin-bottom:0.5em;
        margin-top:0.5em;
        font-size:12px;
    }
    h1 {
        font-size: 18px;
    }
    h2 {
        font-size: 16px;
    }
    #user-avatar {
        width:9em;
    }
}

