        body {
            font-family: 'georgia', Tahoma, Geneva, Verdana, sans-serif;
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
            background-color: #e84b3d;
            color: #333;
        }
        
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .instructions {
            background-color: #fffbea;
            border-left: 4px solid #f1c40f;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 0 5px 5px 0;
        }
        
        .conversation-container {
            display: flex;
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .speaker-column {
            flex: 1;
            background-color: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        
        .speaker-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .speaker-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: white;
        }
        
        .speaker-info {
            flex-grow: 1;
        }
        
        .speaker-name {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .voice-type {
            font-size: 14px;
            color: #666;
        }
        
        .dialogue-line {
            display: flex;
            margin-bottom: 15px;
            align-items: flex-start;
        }
        
        .dialogue-text {
            flex-grow: 1;
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 12px;
            font-size: 16px;
            line-height: 1.5;
            contenteditable: true;
            min-height: 50px;
        }
        
        .dialogue-text:focus {
            outline: 2px solid #4a90e2;
            background-color: #fff;
        }
        
        .left-btn {
            background-color: #4a90e2;
            color: white;
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            cursor: pointer;
            margin-left: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background-color 0.3s;
        }
        .right-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            cursor: pointer;
            margin-left: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background-color 0.3s;
        }
        
        .left-btn:hover {
            background-color: #3a7bc8;
        }
        
        .speak-btn:active {
            transform: scale(0.95);
        }
        
        .icon {
            width: 20px;
            height: 20px;
        }
        
        .add-line-btn {
            background-color: #2ecc71;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 8px 15px;
            cursor: pointer;
            font-size: 14px;
            margin-top: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            transition: background-color 0.3s;
        }
        
        .add-line-btn:hover {
            background-color: #27ae60;
        }
        
        .reset-btn {
            background-color: #e74c3c;
            color: white;
            border: none;
            border-radius: 5px;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 16px;
            margin: 20px auto;
            display: block;
            transition: background-color 0.3s;
        }
        
        .reset-btn:hover {
            background-color: #c0392b;
        }
                /*=========================================*/
        #nextLessonBtn {
          padding: 12px 24px;
          font-size: 16px;
          background-color: #28a745; /* Green for celebration */
          color: white;
          border: none;
          border-radius: 8px;
          cursor: pointer;
          transition: background-color 0.3s ease;
        }

        #nextLessonBtn:hover {
          background-color: #218838;
        }
        h1{
            color:#fff;
        }
        #modeMessage {
            font-size: 14px;
            color: black;
            background-color: #f0f0f0;   /* soft grey background */
            border: 1px solid #ccc;      /* light border */
            border-radius: 6px;          /* rounded corners */
            padding: 8px 12px;           /* breathing space */
            margin-bottom: 12px;         /* gap below banner */
            font-family: Arial, sans-serif;
          }