body{
    font-family: "Poppins";
    overflow: visible;
}

.Home-body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.container {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    background: white;
    color: #333;
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
    border-radius: 10px;
    overflow: visible;
}

.draggable-row {
    cursor: move;
}

.login-box, .info-box {
    padding: 50px;
    flex: 1;
}

.form-box{
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 10%;
}

.login-box {
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    
    align-items: center;
}

.login-box h2 {
    margin-bottom: 5%;
    margin-top: 10%;
    color: #FE7E6A;
}

.input-box {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.flex-div{
    display: flex;
    width:100%;
    align-items: center;  /*Vertically center*/
    justify-content: flex-start; /* Horizontally center */
    height: 100px;
    flex:1;
    ;
    
}
.flex-div-div{
    display: flex;
    flex-direction: row;
}
.main-flex-div{
    display: flex;
    width: 100%;
    justify-content:space-around;
    margin-left:30px;

}

.input-box input {
    width: 100%;
    padding: 10px;
    background: gainsboro;
    border: 2px solid;
    border-radius: 10px;
    outline: none;
    color: #333;
    font-size: 16px;
}



.input-box label {
    position: absolute;
    top: -20px;
    left: 0;
    color: #4e2a8e;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
    transition: 0.5s;
}

.button {
    padding: 10px 20px;
    background: #4e2a8e;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    width: 100%;
    font-family:"Poppins";
    margin: 8px;
}
.small-button {
    padding: 10px 10px;
    background: #4e2a8e;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    width: 250px;
    font-family:"Poppins";
    margin-right:10px;
}
.fileButton{

    display: none;
}
.file-name {
    margin-left: 10px;
    font-size: 16px;
  }

.file-input-container{
    display: flex;
    /* flex-direction: column; */
    align-self: flex-start;
}
.button:hover {
    background: #3b2073;
}

.info-box {
    background-image: url("../assets/Screenshot 2024-03-14 at 18.26 1.png");
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: center;
    color: #fff;
}

.info-box .logo {
    margin-bottom: 10%;
    margin-top: 20%;
    max-width: 150px;
    margin-bottom: 20px;
}

.info-box h1 {
    display: flex;
    align-self: flex-start;
    font-size: 36px;
    font-weight: 100;
    margin-bottom: 10px;
}

.info-box p {
    display: flex;
    align-self: flex-start;
    font-size: 16px;
    margin-bottom: 30px;
}

.info-box .phones {
    width: 80%;
    height: 80%;
    flex-shrink: 0;
}

.mainPageBody {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: #f7f7f7;
    color: #333;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 10px;
    color: #4e2a8e;
    width: 100%;
    height: 100px;
    border-bottom: 2px solid #4e2a8e; /* Adjust thickness and color as needed */

}

.header .logo img {
    max-width: 200px;
    margin-left: 10px;


}
#mainPageLogo{
    max-width: 200px;
    margin-left: 10px;
}

.header .support a {
    color: #4e2a8e;
    text-decoration: none;
    font-family: 'Poppins';
    margin-right: 20px;
}

.client-switcher {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 100%;
    padding: 20px;
    background: #fff;
    flex-grow:1;
}

.client-switcher label {
    margin: 0 10px;
    font-family: 'Poppins';
    color: #4e2a8e;
}

select{
    padding: 10px;
    margin: 8px;
    border: 1px solid #30044B;
    border-radius: 8px;
    background-color:white;
    width: 200px;
    height:40px;
}
/* .client-switch-select{
    padding: 10px;
    margin: 0 10px;
    border: 1px solid #30044B;
    border-radius: 5px;
    background-color: gainsboro;
    width: 100px;

} */
#switch_client {
    background: #4e2a8e;
    color: #fff;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    border-radius: 10px;
    width: 200px;
    height:50px;
}

.dashboard {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.card {
    background: #4e2a8e;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 20%;
    height: max-content;
    transition: transform 0.2s;
}

.card img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.card h3 {
    margin-top: 10px;
    font-size: 22px;
    color: #D0DA48;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    font-family:"Poppins";
}

.card:hover {
    transform: translateY(-5px);
}

.admin_menu_container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #30044B;
    overflow-x: hidden;
    border-radius: 10px;
    transition: 0.5s;
    font-family: 'Inter';
    font-size: 14px;
}

.main-content {
    display: flex;
    transition: margin-left 0.5s;
    padding: 16px;
    margin-left: 0;
    align-self: center;
}

.menu-item {
    display: block;
    padding: 8px;
    color: #fff;
    text-decoration: none;
}

.menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-item, .submenu-item {
    padding: 15px 20px;
    cursor: pointer;
}

.menu-item a, .submenu-item a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.menu-item a:hover, .submenu-item a:hover {
    background-color: #5819bd;
}

.submenu_list, .dropdown {
    display: none;
}
#divider{
    border-bottom: 2px solid lightgray; /* Adjust thickness and color as needed */

}

/* feedback modal */
.feedback-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.feedback-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    text-align: center;
    position: relative;

}

.feedback-close {
    position: absolute;
    top: 25px;
    right: 30px;
    cursor: pointer;
    font-size: 20px;
}

.reply_input {
    border-radius: 8px;
    border: 1px solid #C4C4C4;
    background: rgba(245, 245, 245, 0.65);
}

.w3-feedback-heading {
    background-color: #4e2a8e;
    color: #fff;
    padding: 8px;
    border-radius: 10px;
    width: 99%;
    gap: 10px;
}

.w3-green {
    background-color: #4CAF50;
}

.w3-purple {
    background-color: #9c27b0;
}

.w3-gray {
    color: gray;
    cursor: not-allowed; 
}

.icon {
    left:0;
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

header {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
}

.switcher label {
    margin: 0 10px;
}


#openbtn{
    display: flex;
    align-self:flex-start;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding:15px;
    background-color: #4e2a8e;
    color: #fff;
    margin-top: 5px;
    margin-right:20px;
}

.page {
    margin: 20px;
    font-family: "Poppins";
}

.table-container {
    margin-left: 270px;
    padding: 20px;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

th, td {
    text-align: left;
    padding: 14px 16px;
    word-wrap: break-word;
    border-right: 3px solid white;
}

th:last-child,
td:last-child {
    border-right: none;
}

th {
    background-color: #4b2e83;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(75, 46, 131, 0.15);
}

th:first-child {
    border-radius: 10px 0 0 10px;
}

th:last-child {
    border-radius: 0 10px 10px 0;
}

tr {
    background-color: #f2f2f2;
    transition: all 0.2s ease;
}

td:first-child {
    border-radius: 10px 0 0 10px;
}

td:last-child {
    border-radius: 0 10px 10px 0;
}

tr:hover {
    background-color: #e8e8e8;
    transform: translateY(-2px);
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); */
}

tbody tr {
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); */
}

button {
    background-color: #4b2e83;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}
.form-banner {
    background-color: #8c65db;
    color: white;
    border: none;
    padding: 10px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom:50px;
    width:100%;
    border-radius: 12px;
}
.sub-banner{
    background-color: #8c65db;
    color: white;
    border: none;
    padding: 10px 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-bottom:20px;
    width:100%;
    border-radius: 12px;


}
.red-warning{
    width: 90%;
    background-color:red;
    border-radius: 10px;
    padding:15px;
}
.centered-div{
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
    width:100%;
}

button:hover {
    background-color: #3e246e;
}

/* Status Styles */
.status-dormant {
    background-color: #FE7E6A;
    color: #252322;
    text-align: left;
    
    /* display: inline-block; */
}
.tab{
	width:40px;
	height:40px;	
	background-color: #470D74;
    color:white;
	border:none;
	margin:5px;
	border-radius: 10px;
    text-align: center;
}
.summative-container{
    width:50px;
    height:50px;	
    background-image: #FE7E6A;
    border:none;
    margin:5px;
    border-radius: 10px;

}
.flex-div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.flex-div label {
    width: 200px; 
    height:50px;/* Set a fixed width for all labels to align them */
    text-align: left; /* Aligns the label text to the right */
    margin-right: 10px; /* Adds space between the label and the input */
    white-space: wrap; /* Prevents the label text from wrapping */
}
   
    
/* messaegs display */
.flash-message {
    margin: 15px auto;
    padding: 12px 16px;
    border-radius: 10px;
    font-weight: 500;
    max-width: 1200px;
}

.flash-success {
    background: #e6fffa;
    color: #065f46;
    text-align: center;
    margin-top: -30px;
}

.flash-error {
    background: #ffe4e6;
    color: #9f1239;
    text-align: center;
    margin-top: -30px;
}

.flash-warning {
    background: #fff7ed;
    color: #9a3412;
    text-align: center;
    margin-top: -30px;
}

.flash-info {
    background: #eff6ff;
    color: #1e40af;
    text-align: center;
    margin-top: -30px;
}

.status-active {
    background-color: #D0DA48;
    color: #252322;
    text-align: left;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-image: url("../assets/Rectangle 49.png");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100px;
    width:100%;
}

.left, .right {
    flex: 1;
}
.right{
    display: flex;
    justify-content: flex-end;
}
input[type="text"]{
    padding: 10px;
    margin: 8px;
    font-size: 17px;
    border: 1px solid #30044B; 
    border-radius: 8px;
    height:20px;
}
input[type="date"]{
    padding: 10px;
    margin: 8px;
    font-size: 17px;
    border: 1px solid #30044B; 
    border-radius: 8px;
    height:20px;
}
input[type="password"]{
    padding: 10px;
    margin: 8px;
    font-size: 17px;
    border: 1px solid #30044B; 
    border-radius: 8px;
    height:20px;
}
input[type="number"]{
    padding: 10px;
    margin: 8px;
    font-size: 17px;
    border: 1px solid #30044B;
    border-radius: 8px;
    height:20px;
}
/* input[type="text"]{
    padding: 10px;
    margin: 8px;
    font-size: 17px;
    border: 1px solid #30044B; 
    border-radius: 8px;
    height:20px;
} */
/* . {
    padding: 10px;
    margin-top: 8px;
    font-size: 17px;
    border: none;
    border-radius: 10px;
} */


/* .select2{
    font-size: 17px;
    border: 2px solid #30044B;
    border-radius: 10px;
    width: 80%;
    margin-bottom: 30px;
    background-color: white;
} */

.createClient {
    background-color: #4b2e83;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 10px;
    cursor: pointer;
    border-radius: 12px;
    font-family: "Poppins";
}
.label{
    color:#30044B;
    width:20%;
     margin-right: 10px;
    white-space: nowrap;
     text-align: center;
}

.wizard-tab-container {
    display: flex;
    justify-content: space-between;
    background-color: #f0f0f0;
    padding: 10px;
}
.wizard-tab {
    position: relative;
    padding: 10px;
    cursor: pointer;
}
.wizard-tab.active {
    background-color: #ddd;
}

/* Styling for the content */
.wizard-tab-content {
    padding: 20px;
    max-height: 500px;
    overflow-y: scroll;
}

.wizard-tab-content-container {
    display: flex;
    justify-content: space-between;
}

.count-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

#cohort-user-list {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    max-height: 500px;
    overflow-y: scroll;
}



.createClient:hover {
    background-color: #3e246e;
}
.course_overview_icon{
    height:24px;
    width:24px;
}
.tooltip,.tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    padding:3px;
    z-index: 5;
    bottom: 150%;
    left: 50%;
    margin-left: -60px;
  }

  .two-thirds {
    margin-top:10px;
    width: 64.66%;
    padding: 20px;
    background-color: #fff;
    margin-left:20px;
    margin-right:20px;
}

.one-third {
    margin-top:10px;
    width: 31.33%;
    padding: 20px;
    margin-left:20px;
    margin-right:20px;
    background-color: #F5F5F5;
    border-radius: 10px;
}
.half {
    width: 50%;
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    padding: 16px; /* Optional padding */
  }
  
#viewBox{
    display: flex;
    flex-direction: column;
    align-content: center;
    border: none;
    /* border-radius: 10px; */
    background-color: #f7f7f7;
    margin-right:20px;
}
.option{
    height: 20px;

}
.course-option{
    height: 50px;
    background-color: gainsboro;
    text-align: center;
    border:none;
    border-radius:8px;
    width:20%;
    margin-bottom: 10px;
}
.warning-display{
    position: absolute;
    padding: 20px;
    top: 40%;
    left:43%;
    background-color:#FE7E6A;
    border-radius: 10px;
    color: white;
    width:300px;
    height:auto;
    z-index:2;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  #id01 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black with opacity */
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }

  .loader {
    border: 4px solid #f3f3f3; /* Light grey */
    border-top: 4px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

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

  .rounded-div{
    border-radius: 15px;
    
  }
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .editor-panel {
            background: white;
            padding: 30px;
            border-radius: 10px;
            margin-bottom: 30px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            height:fit-content;
        }

        .editor-panel h2 {
            margin-bottom: 20px;
            color: #333;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #555;
        }

        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 14px;
            font-family: inherit;
        }

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
        }

        .color-input-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .color-wrapper {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .color-wrapper input[type="color"] {
            width: 60px;
            height: 40px;
            border: none;
            cursor: pointer;
        }

        .button-group {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

       

        
        .certificate-preview {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            height:auto;
            width:fit-content;

        }

        #certificate {
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
            padding: 60px;
            border: 20px solid #8B4513;
            background: #FFF8DC;
            position: relative;
            min-height: 600px;
            display: flex;
            flex-direction: column;
            transition: all 0.3s ease;
        }

        #certificate::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            border: 2px solid #8B4513;
            pointer-events: none;
            transition: border-color 0.3s ease;
        }

        .cert-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .cert-title {
            font-size: 48px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 20px;
        }

        .cert-subtitle {
            font-size: 20px;
            font-style: italic;
            margin-bottom: 10px;
        }

        .cert-name {
            font-size: 36px;
            font-weight: bold;
            margin: 20px 0;
            border-bottom: 2px solid #333;
            display: inline-block;
            padding-bottom: 5px;
            transition: border-color 0.3s ease;
        }

        .cert-course {
            font-size: 24px;
            font-weight: bold;
            margin: 20px 0;
        }

        .cert-content {
            flex: 1;
            text-align: center;
        }

        .cert-steps {
            text-align: left;
            margin: 30px auto;
            max-width: 800px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .cert-step {
            padding: 15px;
            background: rgba(255,255,255,0.5);
            border-radius: 8px;
            line-height: 1.6;
            transition: all 0.3s ease;
        }

        .cert-logo {
            text-align: center;
            margin-top: 30px;
        }

        .cert-logo img {
            max-width: 200px;
            max-height: 100px;
            object-fit: contain;
        }

        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
            display: none;
        }

        .alert-success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .alert-error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        @media print {
            body {
                background: white;
            }
            .editor-panel {
                display: none;
            }
            .certificate-preview {
                box-shadow: none;
            }
        }

        @media (max-width: 768px) {
            #certificate {
                padding: 30px;
                border-width: 10px;
            }
            
            .cert-title {
                font-size: 32px;
            }
            
            .cert-name {
                font-size: 24px;
            }
            
            .cert-course {
                font-size: 18px;
            }

            .cert-steps {
                grid-template-columns: 1fr;
            }
        }

         .iv-wrap {
        max-width: 820px;
        margin: 30px auto;
        padding: 0 20px 60px;
    }
    .iv-wrap h2 { color: #4e2a8e; margin-bottom: 24px; }

    #video_preview_id {
        position: relative;
        background: #000;
        border-radius: 8px;
        overflow: hidden;
        margin-top: 14px;
    }
    #video_preview_id video { width: 100%; display: block; }

    .video-pin, .interaction-pin {
        position: absolute;
        transform: translate(-50%, -50%);
        z-index: 10;
        user-select: none;
    }
    .video-pin { cursor: grab; }
    .video-pin:active { cursor: grabbing; }
    .pin-label {
        background: #4e2a8e;
        color: #fff;
        font-family: 'Poppins', sans-serif;
        font-size: 11px;
        padding: 3px 10px;
        border-radius: 20px;
        pointer-events: none;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }
    .interaction-pin .pin-label {
        background: #FE7E6A;
        cursor: pointer;
        pointer-events: auto;
    }

    .element-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .element-card-header > span:first-child {
        font-size: 13px;
        font-weight: 600;
        color: #4e2a8e;
    }
    .remove-btn {
        background: none;
        border: none;
        color: #aaa;
        cursor: pointer;
        font-size: 18px;
        line-height: 1;
        padding: 2px 6px;
        border-radius: 4px;
        transition: color .15s;
    }
    .remove-btn:hover { color: #FE7E6A; }

    .time-row, .coords-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }
    .coords-row { margin-bottom: 4px; }
    .coords-row .form-group { margin-bottom: 0; }
    .coords-row input { background: #f7f7f7; color: #555; }

    .time-badge {
        display: inline-block;
        background: #f0eafa;
        color: #4e2a8e;
        font-size: 12px;
        font-weight: 600;
        padding: 3px 12px;
        border-radius: 20px;
    }

    .empty-state {
        text-align: center;
        padding: 24px;
        color: #aaa;
        font-size: 13px;
        border: 1px dashed #ddd;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .video-select-row {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        align-items: end;
    }
    .video-select-row .form-group { margin-bottom: 0; }

    .section-divider { border: none; border-top: 1px solid #eee; margin: 28px 0; }

    .element-card.saving { opacity: 0.6; pointer-events: none; }
    .element-card.saved  { border-left-color: #3ecf8e !important; transition: border-left-color .4s; }
    .element-card.error  { border-left-color: #FE7E6A !important; }


    .iv-wrap {
        max-width: 820px;
        margin: 30px auto;
        padding: 0 20px 60px;
    }
    .iv-wrap h2 {
        color: #4e2a8e;
        margin-bottom: 24px;
    }

    #video_preview_id {
        position: relative;
        background: #000;
        border-radius: 8px;
        overflow: hidden;
        display: none;
        margin-top: 14px;
    }
    #video_preview_id.active { display: block; }
    #video_preview_id video  { width: 100%; display: block; }

    .video-pin {
        position: absolute;
        transform: translate(-50%, -50%);
        cursor: grab;
        z-index: 10;
        user-select: none;
    }
    .video-pin:active { cursor: grabbing; }
    .pin-label {
        background: #4e2a8e;
        color: #fff;
        font-family: 'Poppins', sans-serif;
        font-size: 11px;
        padding: 3px 10px;
        border-radius: 20px;
        pointer-events: none;
        white-space: nowrap;
        box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    }

    .element-card {
        border-left: 3px solid #4e2a8e;
        margin-bottom: 16px;
        animation: fadeIn .2s ease;
    }
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .element-card-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
    }
    .element-card-header span {
        font-size: 13px;
        font-weight: 600;
        color: #4e2a8e;
    }
    .remove-btn {
        background: none;
        border: none;
        color: #aaa;
        cursor: pointer;
        font-size: 18px;
        line-height: 1;
        padding: 2px 6px;
        border-radius: 4px;
        transition: color .15s;
    }
    .remove-btn:hover { color: #FE7E6A; }

    .time-row, .coords-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }
    .coords-row { margin-bottom: 4px; }
    .coords-row .form-group { margin-bottom: 0; }
    .coords-row input { background: #f7f7f7; color: #555; }

    .time-badge {
        display: inline-block;
        background: #f0eafa;
        color: #4e2a8e;
        font-size: 12px;
        font-weight: 600;
        padding: 3px 12px;
        border-radius: 20px;
        margin-top: 10px;
    }

    .empty-state {
        text-align: center;
        padding: 24px;
        color: #aaa;
        font-size: 13px;
        border: 1px dashed #ddd;
        border-radius: 8px;
        margin-bottom: 16px;
    }

    .video-select-row {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        align-items: end;
    }
    .video-select-row .form-group { margin-bottom: 0; }

    .search-select-wrap { position: relative; width: 100%; }
.search-select-input {
  width: 100%; box-sizing: border-box;
  padding: 7px 32px 7px 10px;
  border: 1px solid #ccc; border-radius: 4px;
  font-size: 14px; cursor: pointer;
}
.search-select-input:focus { border-color: #4e2a8e; outline: none; box-shadow: 0 0 0 2px rgba(78,42,142,0.15); }
.search-select-arrow { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: 11px; color: #999; }
.search-select-dropdown {
  display: none; position: absolute; z-index: 999;
  width: 100%; max-height: 220px; overflow-y: auto;
  background: #fff; border: 1px solid #ccc; border-radius: 4px;
  margin-top: 3px; box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}
.search-select-dropdown.open { display: block; }
.search-select-option { padding: 8px 12px; font-size: 13px; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
.search-select-option:last-child { border-bottom: none; }
.search-select-option:hover, .search-select-option.focused { background: #f5f0ff; }
.search-select-option.selected { color: #4e2a8e; font-weight: 600; }
.search-select-none { padding: 10px 12px; font-size: 13px; color: #aaa; }