        /* CSS Variables for Theme Support */
        :root {
            /* Dark Mode Variables (default) */
            --bg-color: #1a1d29;
            --text-color: #ffffff;
            --card-bg: #2a2f42;
            --card-border: #3a4556;
            --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            --input-bg: #2a3344;
            --sidebar-bg: #2a2f42;
            --sidebar-link-color: #e0e6ed;
            --label-color: #ffffff;
            --button-bg-hover: #ff7582;
            --error-color: #ff4757;
        }

        .light-mode {
            /* Light Mode Variables */
            --bg-color: #f8f9fa;
            --text-color: #212529;
            --card-bg: #ffffff;
            --card-border: #dee2e6;
            --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            --input-bg: #ffffff;
            --sidebar-bg: #ffffff;
            --sidebar-link-color: #495057;
            --label-color: #495057;
            --button-bg-hover: #ff7582;
            --error-color: #dc3545;
        }

        /* Base body styling */
        body {
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
        }

        /* Main container styles matching create_phrase_list */
        .main-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            padding: 2rem;
            flex-direction: column;
            min-height: 100vh;
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 2rem;
            background-color: var(--sidebar-bg);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            position: relative;
            z-index: 10;
            width: 100%;
        }

        .back-link {
            display: flex;
            align-items: center;
            color: var(--sidebar-link-color);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .back-link:hover {
            color: #2a3344;
            transform: translateX(-3px);
        }

        .back-link i {
            margin-right: 8px;
        }

        .nav-container .theme-toggle-button {
            display: flex;
            align-items: center;
            padding: 10px 20px;
            background-color: transparent;
            color: var(--sidebar-link-color) !important;
            border: 2px solid var(--button-bg-hover) !important;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            opacity: 1;
        }

        .nav-container .theme-toggle-button:hover {
            background-color: var(--button-bg-hover);
            color: white !important;
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(255, 117, 130, 0.3);
        }

        .nav-container .theme-toggle-button i {
            margin-right: 8px;
            font-size: 1rem;
        }

        .content-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            align-items: start;
        }

        .form-container, .comparison-section {
            background-color: var(--card-bg);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            border: 2px solid var(--card-border);
            transition: all 0.3s ease;
            animation: fadeIn 0.5s ease-out forwards;
            height: fit-content;
        }

        .form-container:hover, .comparison-section:hover {
            box-shadow: var(--card-hover-shadow);
            transform: translateY(-5px);
        }

        .form-container h2 {
            color: var(--label-color);
            margin-bottom: 1.5rem;
            text-align: center;
            font-weight: 600;
            font-size: 1.8rem;
            background: linear-gradient(to right, #355C7D, #C56C86, #FF7582);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            width: 100%;
        }

        .comparison-section h2 {
            color: var(--label-color);
            margin-bottom: 1.5rem;
            text-align: center;
            font-weight: 600;
            font-size: 1.8rem;
            background: linear-gradient(to right, #355C7D, #C56C86, #FF7582);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            width: 100%;
        }

        .form-label {
            color: #C56C86 !important;
            font-weight: 600 !important;
            font-size: 1.1rem !important;
            margin-bottom: 0.5rem !important;
            display: block !important;
        }

        .room-section {
            margin-bottom: 30px;
        }

        .create-room-btn {
            background: linear-gradient(135deg, #355C7D 0%, #C56C86 100%);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .create-room-btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--card-hover-shadow);
        }

        .create-room-btn:active {
            transform: translateY(0);
        }

        .divider {
            display: flex;
            align-items: center;
            text-align: center;
            margin: 30px 0;
            color: var(--label-color);
        }

        .divider::before,
        .divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--card-border);
        }

        .divider span {
            padding: 0 20px;
            font-weight: 500;
        }

        .join-room-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .room-code-input {
            padding: 15px;
            border: 2px solid var(--card-border);
            background-color: var(--input-bg);
            color: var(--text-color);
            border-radius: 10px;
            font-size: 1.1rem;
            text-align: center;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            transition: all 0.3s ease;
        }

        .room-code-input:focus {
            outline: none;
            border-color: #C56C86;
            box-shadow: 0 0 15px rgba(197, 108, 134, 0.2);
            background-color: var(--input-bg);
        }

        /* Dark mode input styling */
        .room-code-input {
            background-color: #2a3344 !important;
            border-color: #3a4556 !important;
            color: white !important;
        }

        .room-code-input::placeholder {
            color: rgba(255, 255, 255, 0.7) !important;
        }

        /* Light mode input styling */
        .light-mode .room-code-input {
            background-color: white !important;
            border-color: #dee2e6 !important;
            color: #495057 !important;
        }

        .light-mode .room-code-input::placeholder {
            color: rgba(108, 117, 125, 0.8) !important;
        }

        .light-mode .room-code-input:focus {
            background-color: white !important;
            border-color: #C56C86 !important;
        }

        .join-room-btn {
            background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .join-room-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
        }

        .join-room-btn:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .loading-spinner {
            width: 20px;
            height: 20px;
            border: 2px solid transparent;
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

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

        .error-message {
            color: #e74c3c;
            background: #fdf2f2;
            border: 1px solid #f5c6cb;
            padding: 10px 15px;
            border-radius: 8px;
            margin-top: 10px;
            font-weight: 500;
            display: none;
        }

        .success-message {
            color: #27ae60;
            background: #f0f9f0;
            border: 1px solid #c3e6cb;
            padding: 10px 15px;
            border-radius: 8px;
            margin-top: 10px;
            font-weight: 500;
            display: none;
            animation: slideDown 0.5s ease-out;
        }

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

        .room-code-hint {
            font-size: 0.9rem;
            color: var(--text-color);
            opacity: 0.7;
            margin-top: 5px;
        }

        .features {
            display: flex;
            justify-content: space-around;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid var(--card-border);
        }

        .feature {
            text-align: center;
            flex: 1;
        }

        .feature-icon {
            font-size: 2rem;
            color: #C56C86;
            margin-bottom: 10px;
        }

        .feature-text {
            font-size: 0.9rem;
            color: var(--text-color);
            font-weight: 500;
        }

        .feature-name {
            text-align: left !important;
            font-weight: 600 !important;
            color: var(--label-color) !important;
            background-color: var(--card-bg) !important;
        }

        .check-icon {
            color: #27ae60;
            font-size: 1.2rem;
        }

        .cross-icon {
            color: #e74c3c;
            font-size: 1.2rem;
        }

        .partial-icon {
            color: #f39c12;
            font-size: 1.2rem;
        }

        .our-platform {
            background-color: rgba(46, 204, 113, 0.1) !important;
            font-weight: 600;
        }

        .presentation-note {
            border-radius: 10px;
            padding: 15px;
            margin: 20px 0;
        }

        .presentation-note {
            background: linear-gradient(135deg, rgba(53, 92, 125, 0.1) 0%, rgba(197, 108, 134, 0.1) 100%);
            border: 1px solid rgba(197, 108, 134, 0.3);
        }

        .presentation-note .icon {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .presentation-note .icon {
            color: #C56C86;
        }

        .presentation-note .title {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--label-color);
        }

        .presentation-note .description {
            color: var(--text-color);
            font-size: 1.0rem;
        }

        .presentation-note a {
            color: #C56C86;
            text-decoration: none;
            font-weight: 600;
        }

        .presentation-note a:hover {
            text-decoration: underline;
        }

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

        @media (max-width: 768px) {
            .content-wrapper {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .form-container, .comparison-section {
                padding: 1.5rem;
            }
            
            .form-container h2, .comparison-section h2 {
                font-size: 1.5rem;
            }
            
            .features {
                flex-direction: column;
                gap: 20px;
            }
        }
