.msg-successfull {
    background-color: green;      /* vibrant red */
    color: #ffffff;             /* white text */
    padding: 15px 20px;         
    border-radius: 8px;         
    font-size: 18px;            
    font-weight: bold;          
    text-align: center;         
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

.msg-error {
    background-color: red;      /* vibrant red */
    color: #ffffff;             /* white text */
    padding: 15px 20px;         
    border-radius: 8px;         
    font-size: 18px;            
    font-weight: bold;          
    text-align: center;         
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}


.msg-error:hover {
    background-color: #b30000;  /* darker red on hover */
    transform: scale(1.05);
}

.search-input {
    width: 800px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

.highlighted {
    background-color: #ffe29a !important;
    transition: background 0.2s ease-in-out;
}

#tableBodyLeft tr {
    cursor: pointer; /* Indicates the row is interactive */
    transition: background-color 0.1s ease; /* Smooth transition */
}

#tableBodyLeft tr.highlighted-row,
#tableBodyLeft tr:hover {
    background-color: #b5cbdd; /* Light blue background for focus/hover */
    border: 2px solid #004cff; /* Primary color border for visibility */
}

#tableBodyRight tr {
    cursor: pointer; /* Indicates the row is interactive */
    transition: background-color 0.1s ease; /* Smooth transition */
}

#tableBodyRight tr.highlighted-row,
#tableBodyRight tr:hover {
    background-color: #b5cbdd; /* Light blue background for focus/hover */
    border: 2px solid #004cff; /* Primary color border for visibility */
}

.highlighted-row {
    background-color: #ffffff !important;
}

        body {
            background: #f5f6fa;
            font-family: "Segoe UI", sans-serif;
            margin: 0;
            padding: 20px;
        }

        .add-search .rows {
            display: flex;
            gap: 15px;
            margin-bottom: 20px;
        }

        .c-3, .c-4, .c-12 {
            flex: 1;
        }

        .open-modal, .btn-blue {
            background: #0066ff;
            border: none;
            padding: 10px 18px;
            color: white;
            border-radius: 6px;
            cursor: pointer;
            font-size: 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .btn-blue:hover {
            background: #0052cc;
        }

        input#globalSearch {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccd1d9;
            border-radius: 6px;
        }

        /* ===== TABLE ===== */
        .data-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            box-shadow: 0 3px 8px rgba(0,0,0,0.05);
            border-radius: 8px;
            overflow: hidden;
        }

        .data-table th {
            background: #0066ff;
            color: white;
            padding: 10px;
            font-size: 13px;
            white-space: nowrap;
        }

        .data-table td {
            padding: 8px;
            border-bottom: 1px solid #f0f0f0;
            font-size: 14px;
        }

        .data-table tr:hover {
            background: #f4f8ff;
        }

        /* ===== MODAL ===== */
        .modal-container {
            display: none;
            position: fixed;
            z-index: 10000;
            top: 0; left: 0;
            width: 100%; height: 100%;
            background: rgba(0,0,0,0.4);
            overflow-y: auto;
            padding: 30px 0;
        }

        .modal-subject {
            background: white;
            margin: auto;
            padding: 20px 25px;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.2);
            animation: fadeIn .2s ease-in-out;
        }

        @keyframes fadeIn {
            from { transform: translateY(-10px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .modal-heading {
            background: #0066ff;
            color: white;
            padding: 12px;
            border-radius: 6px;
            margin-bottom: 15px;
            position: relative;
        }

        .modal-heading h3 {
            margin: 0;
            text-align: center;
        }

        .modal-heading .close-modal {
            position: absolute;
            right: 15px;
            top: 10px;
            font-size: 22px;
            cursor: pointer;
        }

        /* ===== FORM STYLING ===== */
        .rows {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .form-input-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .form-input-group label {
            font-weight: 600;
            font-size: 14px;
        }

        .form-input-group input,
        .form-input-group select {
            padding: 10px;
            border: 1px solid #ccd1d9;
            border-radius: 6px;
            font-size: 15px;
        }

        .form-input-group input:focus,
        .form-input-group select:focus {
            border-color: #0066ff;
            outline: none;
            box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
        }

        #previewImage,
        #updatePreviewImage {
            border-radius: 6px;
            border: 1px solid #ccc;
            margin-top: 10px;
        }

        /* Buttons */
        .center {
            text-align: center;
            margin-top: 20px;
        }

        .btn-red {
            background: #ff4d4d;
            color: white;
            border: none;
            padding: 10px 18px;
            border-radius: 6px;
            cursor: pointer;
        }

        .btn-red:hover {
            background: #e60000;
        }

        .required { color: red; }

        /* Responsive */
        @media (max-width: 768px) {
            .rows { flex-direction: column; }
            .modal-subject { width: 95% !important; }
        }

.selected-row {
    background-color: #0d6efd !important;  /* Bootstrap primary */
    color: #fff !important;
}

.selected-row td {
    background-color: #0d6efd !important;
    color: #fff !important;
}

#tableBodyRight tr.selected-row td {
    background-color: #293277 !important; /* green */
    color: #fff !important;
}

.custom-wide-modal {
    max-width: 60% !important;
}
/* Selected option bold */
.selected-bold option:checked {
    font-weight: 700;
}

.title-blue {
    color: blue;
}

.title-bold {
    font-weight: bold;
}
