
.session-controls {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 8px;
    padding: 0;
    background: linear-gradient(135deg, #f6f4f2, #e8e6e4);
    border-radius: 12px;
    border: 1px solid #d0ccc8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.session-toggle-btn {
    width: 100%;
    padding: 8px 12px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,123,255,0.2);
}

.session-toggle-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
}

.session-content {
    margin-top: 6px;
}

.drag-handle {
    width: 100%;
    height: 24px;
    background: linear-gradient(135deg, #014148, #337810);
    border-radius: 10px 10px 0 0;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #4a5c2f;
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(1, 65, 72, 0.2);
}

.drag-handle:hover {
    background: linear-gradient(135deg, #337810, #6b7d4f);
    box-shadow: 0 3px 6px rgba(51, 120, 16, 0.3);
}

.drag-handle:active {
    cursor: grabbing;
}

.drag-indicator {
    color: white;
    font-size: 12px;
    user-select: none;
}

.session-content-wrapper {
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #f6f4f2, #e8e6e4);
    padding: 8px;
}

.session-top-row {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.session-dropdown {
    margin-bottom: 8px;
}

.session-actions {
    padding: 8px;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    border-radius: 8px;
}

.session-actions .session-btn {
    font-size: 10px !important;
    padding: 6px 8px !important;
    border: 1px solid #337810 !important;
    display: block !important;
    visibility: visible !important;
}

.session-dropdown {
    position: relative;
    flex: 1;
}

.session-dropdown-btn {
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, #014148, #337810);
    color: #f2fcf7;
    border: 1px solid #4a5c2f;
    border-radius: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(1, 65, 72, 0.2);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.session-dropdown-btn:hover {
    background: linear-gradient(135deg, #337810, #6b7d4f);
    border-color: #3a4c1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(51, 120, 16, 0.3);
    color: #ffffff;
}

.session-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #d0ccc8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
}

.session-dropdown-content.show {
    display: block;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.session-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
}

.voice-controls-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-top: 3px;
}

.session-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.session-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.session-btn:hover::before {
    left: 100%;
}

.session-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.session-btn {
    background: linear-gradient(135deg, #337810, #6b7d4f) !important;
    color: #ffffff !important;
    border: 1px solid #4a5c2f !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.session-btn:hover {
    background: linear-gradient(135deg, #2a6209, #5a6b3f) !important;
    border-color: #3a4c1f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(51, 120, 16, 0.3) !important;
}

.session-btn.leave-session,
.session-btn.auto-speech,
.session-btn.auto-speech.active {
    background: linear-gradient(135deg, #337810, #6b7d4f);
    color: #ffffff;
    border: 1px solid #4a5c2f;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.session-btn.leave-session:hover,
.session-btn.auto-speech:hover,
.session-btn.auto-speech.active:hover {
    background: linear-gradient(135deg, #2a6209, #5a6b3f);
    border-color: #3a4c1f;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(51, 120, 16, 0.3);
}

.session-btn.cancel {
    background: #666;
    color: white;
}

.session-btn.cancel:hover {
    background: #555;
}

.session-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
}

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

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-body input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.modal-body input:focus {
    outline: none;
    border-color: #4CAF50;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-buttons .session-btn {
    padding: 10px 20px;
    font-size: 14px;
}

.participants-list {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.participants-list:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.participants-header {
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.participants-header:hover {
    background: linear-gradient(135deg, #0056b3, #520dc2);
}

.participants-header::after {
    content: '▼';
    font-size: 12px;
    transition: transform 0.3s ease;
}

.participants-header.collapsed::after {
    transform: rotate(-90deg);
}

.participants-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.session-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
}

.session-info span {
    line-height: 1.2;
}

.participants-container {
    padding: 10px;
    max-height: 120px;
    overflow-y: auto;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 5px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.participant-item:last-child {
    margin-bottom: 0;
}

.participant-name {
    font-weight: 500;
    color: #333;
}

.participant-role {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.shared-message {
    border-left: 3px solid #007bff;
    background: #f8f9ff;
}

.shared-message .message-content {
    position: relative;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    font-size: 12px;
}

.message-author {
    font-weight: 600;
    color: #007bff;
}

.message-time {
    color: #666;
    font-size: 11px;
}

.message-text {
    color: #333;
    line-height: 1.4;
}

.system-message {
    text-align: center;
    margin: 10px 0;
}

.system-content {
    background: #e3f2fd;
    color: #1976d2;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-block;
    border: 1px solid #bbdefb;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 12px;
}

.file-icon {
    font-size: 14px;
}

.file-name {
    color: #333;
    font-weight: 500;
}

.remove-file {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.remove-file:hover {
    background: #dc3545;
    color: white;
}

.upload-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 8px;
    transition: background 0.2s ease;
}

.upload-btn:hover {
    background: #5a6268;
}

@media (max-width: 768px) {
    .session-controls {
        padding: 6px;
    }
    
    .session-top-row {
        gap: 4px;
    }
    
    .session-bottom-row {
        gap: 4px;
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .session-btn {
        font-size: 10px;
        padding: 6px 8px;
    }
    
    .session-dropdown-btn {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .file-preview {
        flex-direction: column;
    }
    
    .file-item {
        width: 100%;
        justify-content: space-between;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

.connection-status {
    position: fixed;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1000;
    transition: all 0.3s ease;
}

.connection-status.connected {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.connection-status.disconnected {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.connection-status.connecting {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.customization-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.customization-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 14px;
}

.avatar-selection {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.avatar-option {
    width: 40px;
    height: 40px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
    background: white;
}

.avatar-option:hover {
    border-color: #007bff;
    transform: scale(1.1);
}

.avatar-option.selected {
    border-color: #007bff;
    background: #e3f2fd;
}

.color-selection {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
}

.color-option {
    width: 30px;
    height: 30px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: #333;
}

.color-option.selected {
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.preview-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.preview-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
}

.preview-text {
    font-size: 14px;
    color: #333;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 5px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.participant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.participant-details {
    display: flex;
    flex-direction: column;
}

.participant-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.participant-role {
    font-size: 12px;
    color: #666;
    font-style: italic;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

.message-avatar.bot {
    background: #6c757d;
}

:root {
    --color-red: #fc33e8;
    --color-blue: #3498db;
    --color-green: #2ecc71;
    --color-purple: #9b59b6;
    --color-orange: #f39c12;
    --color-pink: #e91e63;
    --color-teal: #1abc9c;
    --color-indigo: #6c5ce7;
}

.session-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 100%;
    box-sizing: border-box;
    flex-wrap: wrap; 
    min-width: 0; 
}

.session-btn {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    box-sizing: border-box;
}

.participants-list {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    min-width: 0; 
}

.participants-header {
    background: #007bff;
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.participants-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.session-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
    flex-shrink: 0;
}

.participants-container {
    padding: 10px;
    max-height: 120px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    margin-bottom: 5px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    width: 100%;
    box-sizing: border-box;
    min-width: 0; 
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0; 
    flex: 1;
}

.participant-details {
    display: flex;
    flex-direction: column;
    min-width: 0; 
    flex: 1;
}

.participant-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    min-width: 300px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .session-controls {
        flex-direction: column;
        gap: 6px;
    }
    
    .session-btn {
        width: 100%;
        font-size: 11px;
        padding: 8px 10px;
        text-align: center;
    }
    
    .participants-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .session-info {
        align-items: flex-start;
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        min-width: 280px;
        margin: 10px;
    }
    
    .avatar-selection {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .color-selection {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .session-controls {
        padding: 6px;
    }
    
    .session-btn {
        padding: 8px 10px;
        font-size: 11px;
        min-width: 70px;
        flex-shrink: 0;
    }
    
    .session-dropdown-btn {
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .session-bottom-row {
        gap: 6px;
    }
    
    .avatar-selection {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .color-selection {
        grid-template-columns: repeat(3, 1fr);
    }
}

.session-privacy {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.session-privacy h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.privacy-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-option {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.privacy-option:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

.privacy-option input[type="radio"] {
    margin: 0;
    width: auto;
}

.privacy-option input[type="radio"]:checked + .privacy-label {
    color: #007bff;
    font-weight: 600;
}

.privacy-option:has(input[type="radio"]:checked) {
    border-color: #007bff;
    background: #f8f9ff;
}

.privacy-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.privacy-option small {
    color: #6c757d;
    font-size: 12px;
    margin-left: 20px;
}

#sessionTitleInput {
    margin-bottom: 15px;
    font-weight: 500;
}

#sessionTitleInput:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

#publicSessionsBtn {
    background: linear-gradient(135deg, #28a745, #20c997);
}

#publicSessionsBtn:hover {
    background: linear-gradient(135deg, #218838, #1da88a);
}

.session-title-display {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
    margin-bottom: 5px;
}

.session-privacy-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 8px;
}

.public-badge {
    background: #d4edda;
    color: #155724;
}

.private-badge {
    background: #f8d7da;
    color: #721c24;
}

.session-title-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.session-title-text {
    font-size: 14px;
    font-weight: 600;
}

.session-privacy-indicator {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
}

.session-privacy-indicator.public {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.session-privacy-indicator.private {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
}

.public-sessions-list {
    max-height: 400px;
    overflow-y: auto;
  }
  
  .public-session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .public-session-item:hover {
    background: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  
  .public-session-item:last-child {
    margin-bottom: 0;
  }
  
  .session-details {
    flex: 1;
  }
  
  .session-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
  }
  
  .session-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #666;
  }
  
  .host-name {
    font-weight: 500;
  }
  
  .participant-count {
    color: #28a745;
    font-weight: 500;
  }
  
  .join-arrow {
    font-size: 20px;
    color: #2196f3;
    font-weight: bold;
    transition: transform 0.2s ease;
  }
  
  .public-session-item:hover .join-arrow {
    transform: translateX(5px);
  }
  
  .join-note {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0;
  }
  
  @media (max-width: 768px) {
    .session-meta {
      flex-direction: column;
      gap: 5px;
    }
    
    .public-session-item {
      padding: 12px;
    }
    
    .session-title {
      font-size: 15px;
    }
  }

/* Additional styling for the new compact layout */
.session-dropdown-content {
    border-top: 2px solid #007bff;
    margin-top: 2px;
}

.session-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.session-dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.session-dropdown-content::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 3px;
}

.session-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Improved button hover effects */
.session-btn:active {
    transform: translateY(0px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Better spacing for mobile */
@media (max-width: 600px) {
    .session-controls {
        margin-bottom: 6px;
    }
    
    .session-dropdown-btn {
        min-height: 36px;
    }
    
    .session-btn {
        min-height: 32px;
    }
}

/* Improved gradient animations */
.session-btn {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.session-btn:hover {
    animation-play-state: paused;
}

/* Enhanced dropdown animation */
.session-dropdown-content {
    transform-origin: top;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.session-dropdown-content:not(.show) {
    transform: scaleY(0);
    opacity: 0;
}

.session-dropdown-content.show {
    transform: scaleY(1);
    opacity: 1;
}