:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4cc9f0;
    --accent-color-2: #f72585;
    --accent-color-3: #7209b7;
    --accent-color-4: #3a0ca3;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --success-color: #4bb543;
    --warning-color: #fca311;
    --danger-color: #e63946;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
            background-color: #f5f7fa;
            color: var(--dark-color);
            line-height: 1.6;
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 10% 20%, rgba(76, 201, 240, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 30%, rgba(247, 37, 133, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 30% 80%, rgba(114, 9, 183, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 70% 70%, rgba(58, 12, 163, 0.1) 0%, transparent 20%);
            z-index: -1;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 30px;
            margin-bottom: 30px;
            position: relative;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 247, 250, 0.95) 100%);
            border-radius: 12px;
            box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 255, 255, 0.18);
            z-index: 10;
        }

        header::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 95%;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(67, 97, 238, 0.3), transparent);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: translateX(5px);
        }

        .logo i {
            font-size: 32px;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color-3));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            transition: all 0.3s ease;
        }

        .logo:hover i {
            transform: rotate(15deg);
        }

        .logo h1 {
            font-size: 26px;
            font-weight: 800;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color-3));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            letter-spacing: -0.5px;
            position: relative;
        }

        .logo h1::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color-3));
            border-radius: 3px;
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }

        .logo:hover h1::after {
            transform: scaleX(1);
            transform-origin: left;
        }
        
        .interview-timer {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            font-size: 22px;
            font-weight: 600;
            background: linear-gradient(45deg, #f72585, #7209b7);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            padding: 0 12px;
            border-radius: 8px;
            margin-left: 10px;
            display: inline-block;
            min-width: 80px;
            text-align: center;
            animation: pulse 2s infinite;
        }

        .wait-message {
            font-size: 16px;
            font-weight: 600;
            color: var(--accent-color-2);
            animation: blink 1.5s infinite;
            margin-left: 10px;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }
		
		/* New styles for blinking buttons */
        .blink {
            animation: blink 1s infinite;
            border: 2px solid var(--accent-color-2);
        }

        @keyframes blink {
            0%, 100% { opacity: 1; border-color: var(--accent-color-2); }
            50% { opacity: 0.7; border-color: var(--primary-color); }
        }

        /* New style for complete test button */
        .complete-test-btn {
            display: none;
            width: 100%;
            padding: 15px;
            background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-3));
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            cursor: pointer;
            margin-top: 15px;
            box-shadow: 0 5px 15px rgba(247, 37, 133, 0.3);
            transition: all 0.3s ease;
        }

        .complete-test-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(247, 37, 133, 0.4);
        }

        /* Style for completed buttons */
        .completed {
            animation: none !important;
            border: 2px solid var(--success-color) !important;
            box-shadow: 0 0 0 3px rgba(75, 181, 67, 0.3) !important;
        }

        /* New style for changed header */
        .upload-documents-header {
            color: var(--accent-color-2);
            font-weight: bold;
            animation: pulse 2s infinite;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
            padding-right: 10px;
            cursor: pointer;
        }

        .company-logo {
            width: 300px;
            height: auto;
            max-height: 60px;
            object-fit: contain;
            margin: 0 10px;
        }

        .user-info::before {
            content: "";
            position: absolute;
            top: -5px;
            right: -5px;
            bottom: -5px;
            left: -5px;
            background: rgba(67, 97, 238, 0.1);
            border-radius: 50px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .user-info:hover::before {
            opacity: 1;
        }

        .user-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-3));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(114, 9, 183, 0.3);
            transition: all 0.3s ease;
        }

        .user-info:hover .user-avatar {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(114, 9, 183, 0.4);
        }

        .user-info span {
            font-weight: 600;
            color: var(--dark-color);
            transition: color 0.3s ease;
        }

        .user-info:hover span {
            color: var(--primary-color);
        }

        .user-info i {
            font-size: 12px;
            color: var(--gray-color);
            transition: all 0.3s ease;
        }

        .user-info:hover i {
            color: var(--primary-color);
            transform: translateY(2px);
        }

        .interview-status {
            position: absolute;
            top: -10px;
            right: -10px;
            background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-3));
            color: white;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(247, 37, 133, 0.3);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.4); }
            70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(247, 37, 133, 0); }
            100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(247, 37, 133, 0); }
        }

        .main-content {
            display: grid;
            grid-template-columns: 65% 35%;
            gap: 25px;
        }

        .video-section {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .video-container {
            background-color: var(--dark-color);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            position: relative;
            aspect-ratio: 16/9;
            border: 1px solid rgba(255, 255, 255, 0.1);
            width: 100%;
        }

        .video-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            background: linear-gradient(135deg, var(--dark-color) 0%, var(--accent-color-4) 100%);
        }

        .video-placeholder i {
            font-size: 60px;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.3);
        }

        .video-placeholder p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 18px;
        }

        .video-grid {
            display: block;
            width: 100%;
            height: 100%;
            position: relative;
        }

        .video-player {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .second-video-container {
            position: absolute;
            bottom: 20px;
            right: 20px;
            width: 25%;
            min-width: 200px;
            max-width: 300px;
            aspect-ratio: 16/9;
            background: #1a1a2e;
            border-radius: 8px;
            overflow: hidden;
            border: 2px solid white;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            z-index: 10;
        }

        .second-video-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            background: linear-gradient(135deg, var(--dark-color) 0%, var(--accent-color-4) 100%);
        }

        .second-video-placeholder i {
            font-size: 30px;
            margin-bottom: 15px;
            color: rgba(255, 255, 255, 0.3);
        }

        .second-video-placeholder p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
        }

        .second-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .video-thumbnail {
    position: absolute;
    bottom: 20px;  /* Adjust this value as needed */
    left: 20px;    /* Changed from right to left */
     width: 25%; /* Match second video container width */
    min-width: 200px; /* Match second video container min-width */
    max-width: 300px; /* Match second video container max-width */
    aspect-ratio: 16/9; /* Match aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

        .video-thumbnail video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .controls {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
            padding: 15px;
            display: flex;
            justify-content: center;
            gap: 15px;
            z-index: 10;
        }

        .control-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.15);
            border: none;
            color: white;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }

        .control-btn:hover {
            background-color: rgba(255, 255, 255, 0.25);
            transform: scale(1.05);
        }

        .control-btn.mic-btn:hover {
            background-color: rgba(67, 97, 238, 0.7);
        }

        .control-btn.video-btn {
            background-color: var(--success-color);
            width: 60px;
            height: 60px;
        }

        .control-btn.video-btn:hover {
            background-color: #3a9e3a;
            transform: scale(1.1);
        }

        .control-btn.screen-btn:hover {
            background-color: rgba(114, 9, 183, 0.7);
        }

        .control-btn.settings-btn:hover {
            background-color: rgba(58, 12, 163, 0.7);
        }

        .control-btn.end-call {
            background-color: var(--danger-color);
            width: 60px;
            height: 60px;
        }

        .control-btn.end-call:hover {
            background-color: #c1121f;
            transform: scale(1.1);
        }

        .interviewer-info-panel {
            background-color: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.05);
            width: 100%;
        }

        .collab-chat-container {
            display: grid;
            grid-template-rows: auto 1fr;
            gap: 20px;
            height: 100%;
        }

        .panel {
            background-color: white;
            border-radius: 12px;
            padding: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .panel:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
        }

        .panel-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .panel-header h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--dark-color);
            position: relative;
        }

        .panel-header h3::after {
            content: "";
            position: absolute;
            bottom: -11px;
            left: 0;
            width: 30px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color-2));
            border-radius: 3px;
        }

        .panel-header i {
            color: var(--gray-color);
            cursor: pointer;
            transition: color 0.3s ease;
            font-size: 14px;
        }

        .panel-header i:hover {
            color: var(--primary-color);
        }

        .interviewer-info-container {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
        }

        .interviewer-main-info {
            flex: 1;
        }

        .interviewer-info {
            display: flex;
            gap: 15px;
            align-items: center;
            margin-bottom: 10px;
        }

        .interviewer-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 22px;
            font-weight: bold;
            box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
        }

        .interviewer-details h4 {
            font-size: 16px;
            margin-bottom: 5px;
            color: var(--dark-color);
        }

        .interviewer-details p {
            color: var(--gray-color);
            font-size: 13px;
            margin-bottom: 5px;
        }

        .interview-details {
            margin-bottom: 15px;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            font-size: 13px;
        }

        .detail-item i {
            color: var(--primary-color);
            width: 16px;
            text-align: center;
            font-size: 13px;
        }

        .detail-item.calendar i {
            color: var(--accent-color-2);
        }

        .detail-item.job i {
            color: var(--accent-color-3);
        }

        .detail-item.round i {
            color: var(--accent-color);
        }

        .detail-item span {
            font-size: 13px;
        }

        .right-side-container {
            display: flex;
            flex-direction: column;
            width: 300px;
            gap: 15px;
        }

        .skills-container {
            flex: 1;
        }

        .skills {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .skill-tag {
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary-color);
            padding: 4px 8px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .skill-tag:nth-child(2n) {
            background-color: rgba(247, 37, 133, 0.1);
            color: var(--accent-color-2);
        }

        .skill-tag:nth-child(3n) {
            background-color: rgba(114, 9, 183, 0.1);
            color: var(--accent-color-3);
        }

        .skill-tag:nth-child(4n) {
            background-color: rgba(76, 201, 240, 0.1);
            color: var(--accent-color);
        }

        .skill-tag:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .quick-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .action-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px;
            border-radius: 6px;
            border: none;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 12px;
            text-align: left;
        }

        .action-btn.primary {
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color-3));
            color: white;
            box-shadow: 0 4px 8px rgba(67, 97, 238, 0.3);
        }

        .action-btn.primary:hover {
            background: linear-gradient(45deg, var(--accent-color-3), var(--primary-color));
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(67, 97, 238, 0.4);
        }

        .action-btn.secondary {
            background-color: rgba(0, 0, 0, 0.02);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: var(--dark-color);
        }

        .action-btn.secondary:hover {
            background-color: rgba(0, 0, 0, 0.05);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        .action-btn i {
            font-size: 14px;
        }

        .notes textarea {
            width: 100%;
            height: 100px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            padding: 10px;
            resize: none;
            font-size: 13px;
            margin-bottom: 10px;
            transition: all 0.3s ease;
            flex-grow: 1;
        }

        .notes textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        .tools {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 6px;
            flex-grow: 1;
        }

        .tool-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            padding: 6px 3px;
            border-radius: 6px;
            background-color: rgba(0, 0, 0, 0.02);
            border: 1px dashed rgba(0, 0, 0, 0.1);
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 10px;
            height: 60px;
        }

        .tool-btn:nth-child(1) {
            border-color: var(--primary-color);
        }
        .tool-btn:nth-child(2) {
            border-color: var(--accent-color-2);
        }
        .tool-btn:nth-child(3) {
            border-color: var(--accent-color-3);
        }
        .tool-btn:nth-child(4) {
            border-color: var(--accent-color);
        }
        .tool-btn:nth-child(5) {
            border-color: var(--warning-color);
        }
        .tool-btn:nth-child(6) {
            border-color: var(--success-color);
        }

        .tool-btn:hover {
            background-color: white;
            border-style: solid;
            transform: translateY(-3px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }

        .tool-btn:nth-child(1):hover {
            background-color: rgba(67, 97, 238, 0.05);
            color: var(--primary-color);
        }
        .tool-btn:nth-child(2):hover {
            background-color: rgba(247, 37, 133, 0.05);
            color: var(--accent-color-2);
        }
        .tool-btn:nth-child(3):hover {
            background-color: rgba(114, 9, 183, 0.05);
            color: var(--accent-color-3);
        }
        .tool-btn:nth-child(4):hover {
            background-color: rgba(76, 201, 240, 0.05);
            color: var(--accent-color);
        }
        .tool-btn:nth-child(5):hover {
            background-color: rgba(252, 163, 17, 0.05);
            color: var(--warning-color);
        }
        .tool-btn:nth-child(6):hover {
            background-color: rgba(75, 181, 67, 0.05);
            color: var(--success-color);
        }

        .tool-btn i {
            font-size: 14px;
        }

        .tool-btn span {
            font-size: 10px;
            font-weight: 500;
        }

        .chat-container {
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            overflow-x: hidden;
            margin-bottom: 10px;
            padding-right: 8px;
            max-height: 400px;
        }

        .message {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
        }

        .message-avatar {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 11px;
            font-weight: bold;
            flex-shrink: 0;
        }

        .message-content {
            max-width: 80%;
        }

        .message-header {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 3px;
        }

        .message-sender {
            font-weight: 600;
            font-size: 12px;
        }

        .message-time {
            color: var(--gray-color);
            font-size: 10px;
        }

        .message-text {
            background-color: #f1f3f5;
            padding: 8px 10px;
            border-radius: 0 8px 8px 8px;
            font-size: 12px;
            transition: all 0.3s ease;
        }

        .message:hover .message-text {
            transform: translateX(3px);
        }

        .message.self {
            flex-direction: row-reverse;
        }

        .message.self .message-content {
            align-items: flex-end;
        }

        .message.self .message-avatar {
            background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-3));
        }

        .message.self .message-text {
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color-3));
            color: white;
            border-radius: 8px 0 8px 8px;
        }

        .chat-input {
            display: flex;
            gap: 8px;
        }

        .chat-input input {
            flex: 1;
            padding: 8px 12px;
            border: 1px solid rgba(0, 0, 0, 0.1);
            border-radius: 20px;
            font-size: 13px;
            transition: all 0.3s ease;
        }

        .chat-input input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }

        .chat-input button {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(45deg, var(--primary-color), var(--accent-color-3));
            color: white;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 3px 6px rgba(67, 97, 238, 0.3);
            font-size: 14px;
        }

        .chat-input button:hover {
            background: linear-gradient(45deg, var(--accent-color-3), var(--primary-color));
            transform: scale(1.05);
            box-shadow: 0 5px 10px rgba(67, 97, 238, 0.4);
        }

        .status-badge {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 10px;
            font-size: 10px;
            font-weight: 500;
        }

        .status-active {
            background-color: rgba(75, 181, 67, 0.1);
            color: var(--success-color);
        }

        .status-pending {
            background-color: rgba(252, 163, 17, 0.1);
            color: var(--warning-color);
        }

        ::-webkit-scrollbar {
            width: 4px;
        }

        ::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(var(--primary-color), var(--accent-color-3));
            border-radius: 2px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(var(--accent-color-3), var(--primary-color));
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .video-placeholder i {
            animation: float 3s ease-in-out infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(75, 181, 67, 0.4); }
            70% { box-shadow: 0 0 0 8px rgba(75, 181, 67, 0); }
            100% { box-shadow: 0 0 0 0 rgba(75, 181, 67, 0); }
        }

        .status-active {
            position: relative;
        }

        .status-active::after {
            content: "";
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 12px;
            animation: pulse 2s infinite;
            pointer-events: none;
        }

        .settings-dropdown {
            position: absolute;
            bottom: 70px;
            right: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            padding: 15px;
            width: 250px;
            z-index: 100;
            display: none;
        }

        .settings-dropdown.show {
            display: block;
        }

        .settings-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .settings-item:last-child {
            border-bottom: none;
        }

        .settings-label {
            font-size: 14px;
            color: var(--dark-color);
        }

        .settings-toggle {
            position: relative;
            display: inline-block;
            width: 40px;
            height: 20px;
        }

        .settings-toggle input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .settings-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 20px;
        }

        .settings-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .settings-slider {
            background-color: var(--primary-color);
        }

        input:checked + .settings-slider:before {
            transform: translateX(20px);
        }

        .connecting-status {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            z-index: 50;
            display: none;
        }

        .connecting-status.show {
            display: flex;
        }

        .connecting-status i {
            font-size: 40px;
            margin-bottom: 15px;
            color: var(--success-color);
            animation: spin 1.5s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .connecting-status p {
            font-size: 18px;
            margin-bottom: 10px;
        }

        .connecting-status small {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .contact-admin-btn {
            position: absolute;
            top: 20px;
            right: 200px;
            background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-3));
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .contact-admin-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(247, 37, 133, 0.4);
        }

        .webcam-active {
            position: absolute;
            top: 10px;
            left: 10px;
            background-color: var(--success-color);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            z-index: 20;
            display: none;
        }

        .webcam-active.active {
            display: block;
        }

        /* New styles for blinking buttons */
        .blink {
            animation: blink 1s infinite;
            border: 2px solid var(--accent-color-2);
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; border-color: var(--primary-color); }
        }

        /* New style for complete test button */
        .complete-test-btn {
            display: none;
            width: 100%;
            padding: 15px;
            background: linear-gradient(45deg, var(--accent-color-2), var(--accent-color-3));
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 18px;
            font-weight: bold;
            text-align: center;
            cursor: pointer;
            margin-top: 15px;
            box-shadow: 0 5px 15px rgba(247, 37, 133, 0.3);
            transition: all 0.3s ease;
        }

        .complete-test-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(247, 37, 133, 0.4);
        }

        /* New style for changed header */
        .upload-documents-header {
            color: var(--accent-color-2);
            font-weight: bold;
            animation: pulse 2s infinite;
        }

        @media (max-width: 1200px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            
            .collab-chat-container {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: auto;
            }
        }

        @media (max-width: 768px) {
            .tools {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .interviewer-info-container {
                flex-direction: column;
            }
            
            .right-side-container {
                width: 100%;
            }

            .quick-actions {
                grid-template-columns: 1fr;
            }

            .video-thumbnail {
                width: 30%; /* Match second video container mobile width */
        min-width: 150px; /* Match second video container mobile min-width */
        bottom: 15px;
        left: 15px;
            }
            
            .second-video-container {
                width: 30%;
                min-width: 150px;
                bottom: 15px;
                right: 15px;
            }
            
            .collab-chat-container {
                grid-template-columns: 1fr;
                grid-template-rows: auto;
            }

            .video-container {
                width: 100%;
            }

            .interviewer-info-panel {
                width: 100%;
            }

            .contact-admin-btn {
                position: static;
                margin-left: auto;
                margin-right: 15px;
            }
        }