.transcript {
 margin-top: 2rem;
 background-color: #1e1e1e;
 padding: 1rem 1.5rem;
 border-radius: 12px;
 max-height: 300px;
 overflow-y: auto;
 font-family: 'Courier New', monospace;
 font-size: 0.95rem;
 line-height: 1.6;
 color: #dcdcdc;
 white-space: pre-line;
 border: 1px solid #333;
}

.transcriptOutput {
 border-radius: 50px;
}

.transcript-box {
 flex: 1;
 min-width: 320px;
 max-width: 640px;
 background: #f9f9f9;
 padding: 20px;
 border-radius: 10px;
 box-shadow: 0 6px 12px rgba(0, 0, 0, 0.07);
}

.transcript-box h2 {
 margin-top: 0;
 font-size: 20px;
 margin-bottom: 10px;
 color: #333;
}

.copy-btn {
 margin: 40px 0 0 0;
 text-align: left;
}

.copy-btn a {
 padding: 0.875rem 2rem;
 background: #c45fa0;
 color: white;
 border: none;
 border-radius: 30px;
 font-weight: 600;
 cursor: pointer;
 transition: background 0.3s ease;
}

.copy-btn a:hover {
 background: #4a5699;
}

#copyErrorMessage {
 margin-top: 15px;
 color: #e62117;
 font-weight: 500;
 font-size: 13px;
}

.video-transcript-container {
 display: flex;
 gap: 20px;
 height: 400px;
 max-width: 100%;
 margin: 0 auto;
}

.video-container {
 flex: 1 1 45%;
 background-color: black;
 display: flex;
 justify-content: center;
 align-items: center;
 color: white;
 font-size: 18px;
 font-weight: bold;
 border-radius: 6px;
 box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.video-placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 justify-content: center;
 align-items: center;
}

.transcript-container {
 background-color: #f9f9f9;
 border-radius: 6px;
 padding: 10px 15px;
 max-width: 35%;
 overflow-x: hidden;
 overflow-y: auto;
 font-family: 'Inter', sans-serif;
 font-size: 14px;
 line-height: 0;
 color: #333;
 box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

@media (max-width : 768px) {

   .video-transcript-container {
    flex-direction: column;
   }

   .transcript-container {
    max-width: 100%;
   }
}