:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.min-vh-100 {
    min-height: 100vh;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn {
    border-radius: 5px;
    padding: 8px 16px;
}

code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.table {
    margin-bottom: 0;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Classroom specific styles */
#classroom-container {
    display: flex;
    height: 100vh;
}

#video-container {
    flex: 1;
    position: relative;
    background: #000;
}

#whiteboard-container {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
}

#toolbar {
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    gap: 10px;
}

#toolbar button.active {
    background-color: var(--primary-color);
    color: white;
}

#canvas-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#whiteboard {
    display: block;
    cursor: crosshair;
}

.role-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    font-size: 0.9rem;
    padding: 8px 12px;
}

#participants {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    font-size: 0.9rem;
    padding: 8px 12px;
}

/* Responsive design */
@media (max-width: 768px) {
    #classroom-container {
        flex-direction: column;
    }
    
    #video-container {
        height: 50vh;
    }
    
    #whiteboard-container {
        height: 50vh;
    }
}
