:root {
    /* Theme-aware tints */
    --color-primary: #3598dc;
    --color-success: #26a69a;
    --color-info: #3598dc;
    --color-warning: #f29a12;
    --color-dark: #2f353b;
    --color-light: #f3f6f9;
    --color-border: #ebedf3;
}

/* Classroom portlet styling */
.classroom-portlet {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: all .25s ease-in-out;
    margin-bottom: 30px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.classroom-portlet:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .15);
}

/* Left border color indicator */
.classroom-portlet {
    border-left: 4px solid var(--color-warning);
}

/* Title styling */
.classroom-portlet .portlet-title {
    padding: 0 15px;
    border-radius: 5px;
    background: var(--color-light);
    border-bottom: 1px solid var(--color-border);
}

.classroom-portlet .portlet-title .caption > i {
    font-size: 20px;
    margin-right: 6px;
    vertical-align: middle;
}

.classroom-portlet .portlet-title .caption-subject {
    font-size: 18px;
    font-weight: 600;
}

.classroom-portlet .portlet-title .caption-helper {
    color: #888;
    margin-left: 5px;
}

/* Body styling */
.classroom-portlet .portlet-body {
    padding: 20px;
}

/* Location styling */
.location-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.location-info .location-icon {
    width: 40px;
    height: 40px;
    background: #ffe9c8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: var(--color-warning);
}

.location-info .location-name {
    font-weight: 600;
    color: #444;
}

/* Tab styling enhancement */
.classroom-portlet .tabbable-line > .nav-tabs > li.active > a {
    border-bottom: 3px solid var(--color-warning);
}

.classroom-portlet .tabbable-line > .tab-content {
    padding: 20px 0 0;
}

/* Iframe container */
.iframe-container {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
}

.iframe-container pre {
    max-height: 120px;
    overflow-y: auto;
}

/* Copy button */
.copy-btn {
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Action buttons */
.classroom-actions {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* Improvement: Weekly program styling */
.weekly-program {
    margin-top: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

/* Badge */
.badge-classroom {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    background: #fff3e0;
    color: var(--color-warning);
    margin-left: 10px;
}

/* Print button styling */
.print-btn {
    margin-top: 15px;
}

/* Hidden ID column for the datatable */
.id-column {
    display: none;
}

/* Online badge styling */
.online-badge {
    background-color: var(--color-success);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-left: 5px;
}

/* Info alert styling */
.info-alert {
    background-color: var(--color-light);
    border-left: 4px solid var(--color-info);
    color: var(--color-dark);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-alert i {
    color: var(--color-info);
    margin-right: 5px;
}