/**
 * Interactive Demo Sandbox Styles
 * Styles for the frontend-only interactive demo
 */

/* Main Demo Container */
.demo-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #0b0f19 0%, #1a1f2e 100%);
}

.demo-sandbox {
    margin: 40px 0;
}

.demo-sandbox-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Demo Navigation */
.demo-nav {
    display: flex;
    gap: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow-x: auto;
}

.demo-nav-btn {
    flex: 1;
    min-width: 120px;
    padding: 20px 15px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    border-bottom: 3px solid transparent;
}

.demo-nav-btn i {
    font-size: 24px;
}

.demo-nav-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.demo-nav-btn.active {
    color: #ff6b6b;
    border-bottom-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

/* Demo Content Area */
.demo-sandbox .demo-content {
    padding: 40px;
    min-height: 600px;
}

/* Demo Header */
.demo-sandbox .demo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.demo-sandbox .demo-header h3 {
    font-size: 28px;
    color: #fff;
    margin: 0;
}

.demo-sandbox .demo-subtitle {
    color: #999;
    margin: 5px 0 0 0;
}

/* Meeting Cards Grid */
.demo-meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.demo-meeting-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.demo-meeting-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

.demo-meeting-card.locked {
    border-color: rgba(255, 107, 107, 0.5);
}

.demo-meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.demo-meeting-header h4 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 5px 0;
}

.demo-meeting-theme {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.demo-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.demo-badge.locked {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
}

.demo-badge.draft {
    background: rgba(255, 255, 255, 0.1);
    color: #999;
}

.demo-meeting-progress {
    margin-bottom: 15px;
}

.demo-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.demo-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #ff8e8e);
    transition: width 0.5s ease;
}

.demo-progress-text {
    color: #999;
    font-size: 13px;
}

.demo-meeting-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Highlight Box */
.demo-highlight-box {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 107, 107, 0.05));
    border: 2px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
}

.demo-highlight-icon {
    font-size: 48px;
    color: #ff6b6b;
    flex-shrink: 0;
}

.demo-highlight-content h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.demo-highlight-content p {
    color: #ccc;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

/* Members View */
.demo-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.demo-member-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.demo-member-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 107, 0.3);
}

.demo-member-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.demo-member-info {
    flex: 1;
}

.demo-member-info h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 16px;
}

.demo-member-role {
    color: #ff6b6b;
    font-size: 13px;
    margin: 0 0 8px 0;
}

.demo-member-stats {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999;
}

.demo-status-active {
    color: #4ade80;
}

.demo-status-active i {
    font-size: 8px;
    margin-right: 5px;
}

/* Stats Box */
.demo-stats-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.demo-stats-box h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.demo-stats-box h4 i {
    color: #ff6b6b;
    margin-right: 10px;
}

.demo-stats-box p {
    color: #ccc;
    margin: 0;
    line-height: 1.6;
}

/* Email View */
.demo-email-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.demo-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.demo-stat-card i {
    font-size: 32px;
    color: #ff6b6b;
}

.demo-stat-card h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 18px;
}

.demo-stat-card p {
    color: #999;
    margin: 0;
    font-size: 14px;
}

.demo-email-preview,
.demo-recipients {
    margin-bottom: 30px;
}

.demo-email-preview h4,
.demo-recipients h4 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.demo-email-mockup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.demo-recipients-list {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
}

.demo-recipient {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-recipient:last-child {
    border-bottom: none;
}

.demo-recipient i {
    color: #4ade80;
}

.demo-recipient span:first-of-type {
    color: #fff;
    flex: 1;
}

.demo-recipient-role {
    color: #999;
    font-size: 13px;
}

/* Agenda View */
.demo-agenda-preview {
    margin-bottom: 30px;
}

.demo-pdf-mockup {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    color: #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.demo-pdf-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #ff6b6b;
}

.demo-pdf-header h2 {
    color: #ff6b6b;
    margin: 0 0 10px 0;
    font-size: 28px;
}

.demo-pdf-header h3 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 20px;
}

.demo-pdf-header p {
    color: #666;
    margin: 5px 0;
}

.demo-pdf-theme {
    font-style: italic;
    color: #ff6b6b !important;
}

.demo-pdf-section {
    margin-bottom: 30px;
}

.demo-pdf-section h4 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 18px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.demo-pdf-table {
    width: 100%;
    border-collapse: collapse;
}

.demo-pdf-table tr {
    border-bottom: 1px solid #eee;
}

.demo-pdf-table td {
    padding: 12px 10px;
    font-size: 14px;
}

.demo-pdf-time {
    color: #666;
    font-weight: 600;
    width: 80px;
}

.demo-pdf-event {
    color: #333;
}

.demo-pdf-duration {
    color: #999;
    text-align: right;
    width: 80px;
}

.demo-pdf-role {
    color: #666;
    font-weight: 600;
}

.demo-pdf-member {
    color: #333;
}

.demo-agenda-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.demo-features-list {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    max-width: 600px;
    margin: 0 auto;
}

.demo-features-list h4 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 18px;
}

.demo-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-features-list li {
    color: #ccc;
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.demo-features-list li i {
    color: #4ade80;
    margin-top: 3px;
}

/* Empty State */
.demo-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.demo-empty-state i {
    font-size: 64px;
    color: #666;
    margin-bottom: 20px;
}

.demo-empty-state h3 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 24px;
}

.demo-empty-state p {
    color: #999;
    margin: 0;
}

/* Modals */
.demo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.demo-modal-content {
    background: linear-gradient(145deg, #1e2330 0%, #161b26 100%);
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

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

.demo-modal-content.success i {
    font-size: 56px;
    color: #4ade80;
    margin-bottom: 16px;
    animation: scaleIn 0.4s ease;
}

.demo-modal-content button {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.demo-modal-content h3 {
    color: #fff;
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 600;
}

.demo-modal-content p {
    color: #bbb;
    margin: 0 0 24px 0;
    line-height: 1.6;
    font-size: 14px;
}

.demo-modal-header {
    margin-bottom: 20px;
}

.demo-modal-header h3 {
    color: #fff;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.demo-assignment-animation {
    padding: 16px;
}

.demo-spinner {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: #ff6b6b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#demo-assign-status {
    color: #bbb;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

/* CTA Section */
.demo-cta {
    text-align: center;
    margin-top: 40px;
    padding: 40px 20px;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.demo-cta p {
    color: #fff;
    font-size: 20px;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.demo-cta button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Buttons */
.btn-small {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-small:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-primary {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff3838 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Schedule Controls */
.demo-schedule-controls {
    margin-bottom: 30px;
}

.demo-options-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    margin-top: 12px;
    backdrop-filter: blur(10px);
}

.demo-options-panel label {
    color: #ccc;
    font-size: 13px;
    font-weight: 500;
}

.demo-options-panel input[type="number"],
.demo-options-panel input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 14px;
    transition: all 0.2s ease;
}

.demo-options-panel input[type="number"]:focus,
.demo-options-panel input[type="date"]:focus {
    outline: none;
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

.demo-options-panel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #ff6b6b;
}

.demo-options-panel input[type="radio"] {
    cursor: pointer;
    accent-color: #ff6b6b;
}

/* Schedule Table */
.demo-schedule-container {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
}

.demo-schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    table-layout: auto;
    display: table;
}

.demo-schedule-table thead {
    background: rgba(255, 255, 255, 0.08);
    display: table-header-group;
}

.demo-schedule-table thead tr {
    display: table-row;
}

.demo-schedule-table tbody {
    display: table-row-group;
}

.demo-schedule-table tr {
    display: table-row;
}

.demo-schedule-table th {
    padding: 12px 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    min-width: 140px;
    white-space: normal;
    vertical-align: middle;
    display: table-cell;
}

.demo-role-header {
    background: rgba(255, 107, 107, 0.2);
    position: sticky;
    left: 0;
    z-index: 10;
    min-width: 160px !important;
    text-align: left !important;
    padding: 12px 15px;
}

.demo-meeting-header {
    vertical-align: top;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 8px;
}

.demo-meeting-header.locked {
    background: rgba(255, 107, 107, 0.08);
    border-color: rgba(255, 107, 107, 0.3);
}

.demo-meeting-title {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.demo-meeting-date-display {
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
    text-align: center;
}

.demo-meeting-date-display:hover {
    background: rgba(255, 255, 255, 0.08);
}

.demo-date-line {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 2px;
}

.demo-time-line {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

.demo-date-edit-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    max-width: 140px;
    margin: 0 auto;
}

.demo-date-edit-form input {
    padding: 6px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 12px;
    width: 100%;
}

.demo-date-edit-form input:focus {
    outline: none;
    border-color: rgba(255, 107, 107, 0.5);
    background: rgba(0, 0, 0, 0.4);
}

.demo-lock-icon {
    font-size: 12px;
    cursor: pointer;
    padding: 3px;
    border-radius: 3px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    opacity: 0.9;
}

.demo-lock-icon.fa-lock {
    color: #ff6b6b;
}

.demo-lock-icon.fa-lock-open {
    color: #888;
}

.demo-lock-icon:hover {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
    transform: scale(1.1);
}

.demo-role-row {
    transition: background 0.2s ease;
}

.demo-role-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.demo-role-name {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.05);
    position: sticky;
    left: 0;
    z-index: 5;
    display: table-cell;
    vertical-align: middle;
}

.demo-assignment-cell {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
    display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

.demo-assignment-cell:hover:not(.locked) {
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.02);
    border-color: rgba(255, 107, 107, 0.3);
}

.demo-assignment-cell.locked {
    background: rgba(255, 107, 107, 0.05);
    cursor: not-allowed;
}

.demo-assignment-cell.just-assigned {
    animation: assignmentSuccess 0.5s ease;
}

@keyframes assignmentSuccess {
    0% { 
        transform: scale(1); 
        background: rgba(255, 255, 255, 0.02);
    }
    50% { 
        transform: scale(1.08); 
        background: rgba(74, 222, 128, 0.3);
        box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
    }
    100% { 
        transform: scale(1); 
        background: rgba(255, 255, 255, 0.02);
    }
}

.demo-assignment {
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    background: rgba(255, 107, 107, 0.2);
    border-radius: 4px;
    display: inline-block;
    min-width: 100px;
    font-weight: 400;
    transition: all 0.2s ease;
    cursor: pointer;
}

.demo-assignment:hover {
    background: rgba(255, 107, 107, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

.demo-assignment-empty {
    color: #666;
    font-size: 18px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    padding: 4px;
    border-radius: 4px;
}

.demo-assignment-empty:hover {
    color: #ff6b6b;
    transform: scale(1.2);
    background: rgba(255, 107, 107, 0.1);
}

/* Modal Footer */
.demo-modal-body {
    text-align: left;
    margin: 16px 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.demo-modal-body p {
    margin: 0 0 12px 0;
    font-size: 14px;
}

.demo-modal-body ul {
    margin: 12px 0;
    padding-left: 24px;
    list-style: none;
}

.demo-modal-body li {
    color: #bbb;
    margin: 10px 0;
    line-height: 1.6;
    font-size: 14px;
    position: relative;
    padding-left: 8px;
}

.demo-modal-body li:before {
    content: "•";
    color: #ff6b6b;
    font-weight: bold;
    position: absolute;
    left: -16px;
}

.demo-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.demo-modal-footer .btn-primary,
.demo-modal-footer .btn-secondary {
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.demo-modal-footer .btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.demo-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #ff5252 0%, #ff3838 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
    transform: translateY(-1px);
}

.demo-modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Member Selector Modal */
.demo-modal-subtitle {
    color: #999;
    font-size: 14px;
    margin: 8px 0 20px 0;
    text-align: center;
}

.demo-member-selector-list {
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
    padding: 10px 0;
}

.demo-member-selector-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-member-selector-item:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateX(4px);
}

.demo-member-selector-item.assigned {
    background: rgba(255, 107, 107, 0.15);
    border-color: rgba(255, 107, 107, 0.4);
}

.demo-member-selector-item.assigned:hover {
    background: rgba(255, 107, 107, 0.2);
}

.demo-member-selector-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.demo-member-selector-info {
    flex: 1;
}

.demo-member-selector-info h4 {
    color: #fff;
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.demo-member-selector-info p {
    color: #999;
    margin: 0;
    font-size: 13px;
}

.demo-member-selector-item i {
    color: #ff6b6b;
    font-size: 20px;
    flex-shrink: 0;
}

/* Enhanced animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.demo-member-selector-item {
    animation: fadeInUp 0.3s ease backwards;
}

.demo-member-selector-item:nth-child(1) { animation-delay: 0.05s; }
.demo-member-selector-item:nth-child(2) { animation-delay: 0.1s; }
.demo-member-selector-item:nth-child(3) { animation-delay: 0.15s; }
.demo-member-selector-item:nth-child(4) { animation-delay: 0.2s; }
.demo-member-selector-item:nth-child(5) { animation-delay: 0.25s; }
.demo-member-selector-item:nth-child(n+6) { animation-delay: 0.3s; }

/* Responsive Design */
@media (max-width: 768px) {
    .demo-sandbox .demo-content {
        padding: 20px;
    }

    .demo-sandbox .demo-header {
        flex-direction: column;
    }

    .demo-meetings-grid,
    .demo-members-grid {
        grid-template-columns: 1fr;
    }

    .demo-highlight-box {
        flex-direction: column;
        text-align: center;
    }

    .demo-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .demo-nav-btn {
        font-size: 12px;
        padding: 15px 10px;
    }

    .demo-nav-btn i {
        font-size: 20px;
    }

    .demo-pdf-mockup {
        padding: 20px;
    }

    .demo-modal-content {
        padding: 28px 20px;
        max-width: 90%;
    }

    .demo-modal-content h3 {
        font-size: 20px;
    }

    .demo-modal-content.success i {
        font-size: 48px;
    }

    .demo-modal-footer {
        flex-direction: column;
        gap: 10px;
    }

    .demo-modal-footer .btn-primary,
    .demo-modal-footer .btn-secondary {
        width: 100%;
    }

    .demo-modal-body {
        padding: 16px;
    }

    .demo-schedule-container {
        padding: 10px;
    }

    .demo-schedule-table th {
        min-width: 120px;
        padding: 10px 8px;
        font-size: 12px;
    }

    .demo-schedule-table td {
        min-width: 120px;
        padding: 8px;
        font-size: 12px;
    }

    .demo-meeting-title {
        font-size: 10px;
    }

    .demo-date-line {
        font-size: 12px;
    }

    .demo-time-line {
        font-size: 10px;
    }

    .demo-assignment {
        font-size: 12px;
        padding: 5px 8px;
        min-width: 90px;
    }

    .demo-options-panel {
        padding: 20px;
    }

    .demo-member-selector-list {
        max-height: 300px;
    }

    .demo-member-selector-item {
        padding: 12px;
        gap: 12px;
    }

    .demo-member-selector-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .demo-member-selector-info h4 {
        font-size: 14px;
    }

    .demo-member-selector-info p {
        font-size: 12px;
    }
}

