/* ========================================================================== */
/* 1. Base Reset & General Typography                                         */
/* ========================================================================== */
html {
    font-size: 90%;
}

body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

label {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

.bold-line {
    height: 5px;
    background-color: black;
    border: none;
}

.myfont {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgb(55, 52, 52);
    font-size: small;
}

.my-header-style {
    color: #fefafa;
    font-weight: bold;
}

.textbox-label {
    color: rgb(199, 190, 190);
}

.form-label {
    display: block;
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #eae2e2;
}

.no-border {
    border: none !important;
    box-shadow: none !important;
}

.no-decoration {
    text-decoration: none !important;  
}

/* ========================================================================== */
/* 2. Responsive Application Shell & Sidebar                                  */
/* ========================================================================== */
.page {        
    display: flex;  
    min-height: 100vh;   
    width: 100%;  
    overflow-y: auto;        
    flex-direction: column;
    margin: 0;
    border: none;
    background-color: rgba(229, 244, 246, 0.43);
    overflow-x: hidden;
}

.sidebar {
    width: 100%;
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);        
    box-sizing: border-box;
    border: none;
    /* added after changes */
    position: relative; /* Unpins it from fixed desktop positioning on mobile */
    overflow-y: auto;
}

.sidebar .collapse {
    display: none; /* Hidden by default on mobile until toggled */
}

.sidebar .collapse.show {
    display: block !important; /* Shown when toggled open */
}


.sidebar .top-row {
    background-color: rgba(0,0,0,0.4);
}

.left-panel {
    height: 100%;
    display: flex;
    flex-direction: column;        
}

.left-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.left-footer {
    border-top: 1px solid var(--mud-palette-divider, #e0e0e0);
    border-bottom: none !important;
}

.compact-sidebar-panel {
    background-color: #f8f9fa;
    height: 100%;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    width: 100%;
    min-height: 100vh;
    /* added after changes */
    min-width: 0; /* Prevents flex items from overflowing their container */
    box-sizing: border-box;
}

.main .top-row > h3 {
    margin-bottom: 0;
}

.main .top-row > a {
    margin-left: 1.5rem;
}

.navmenu-bg {    
    background-image: linear-gradient(65deg, #2c8a8a 0%, #f9fcfa 70%);
    height: 100%;
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}

.nav-item a {
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
}

.nav-item a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

/* add after changes */
.top-row, .top-row2 {
    display: flex;
    flex-wrap: wrap; /* Allows items to drop to the next line on mobile */
    align-items: center;
    height: auto !important; /* Removes fixed height restrictions that cause clipping */
    min-height: 3.5rem;
    padding: 8px 12px;
    box-sizing: border-box;
    justify-content: flex-start;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    font-size: 1.0rem;
}

/* .top-row2 {
     height: 3.5rem; 
    flex: 1;
    display: flex;    
    justify-content: flex-start;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    font-size: 1.0rem;
    
   
}*/

/* Laptop / Desktop Layout Media Query */
@media (min-width: 767.98px) {
    .page {        
        flex-direction: row;
        height: 100vh;   
        width: 100vw;  
        overflow-y: hidden;        
    }

    .sidebar {
        flex: 0 0 200px;
        max-width: 200px;
        height: 100vh;                  
        position: fixed;
        top: 0;
        overflow-y: auto;
        z-index: 100;
        /*added after change*/
        left: 0;        
    }

    .sidebar .collapse {
        display: block !important;
    }

    .appbar-offset {
        margin-left: 10px;
    }

    .main {
        margin-left: 200px;
        width: calc(100vw - 200px);
        /*added after change*/
        height: 100vh;
        overflow-y: auto;
    }
    /*added after change*/
    .top-row, .top-row2 {
        flex-wrap: nowrap; /* Keep single line on desktop */
        height: 3.5rem !important;
    }
    /* Reset dialog max-width for larger desktop screens */
    .dialog {
        max-width: 900px;
    }
}

/* ========================================================================== */
/* 3. Responsive Forms, Inputs & File Uploads                                 */
/* ========================================================================== */
.form-section {
    background: #9cd3d3;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-section h3, .form-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.form-select {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    border: none;
    background-color: rgb(241, 234, 234);   
    flex-direction: column;
}

.form-check {
    padding: 0;    
    margin-bottom: 0.1rem;
    width: 100%;
}

button[type="submit"],
button[type="button"] {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.input-style, 
.input-style-summary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1px solid #eae6e6;
    border-radius: 6px;
    background-color: rgb(250, 246, 246);
    color: #4c4b4b;
}

.input-style:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

input[type="text"].input-style,
textarea.input-style,
select.input-style {
    display: block;
}

.styled-input,
.styled-textarea,
.styled-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    background-color: rgb(249, 245, 240);
}

.styled-textarea {
    height: 100px;
    resize: vertical;
}

.styled-select {
    height: 36px;
}

.collapsible-textarea textarea {
    transition: height 0.25s ease;
}

/* Checkboxes & Radios */
.checkbox-style {
    appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 1.5px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    background-color: #fff;
    transition: background-color 0.2s ease;
}

.checkbox-style:checked {
    background-color: #1eed06;
    border-color: #08d34f;
}

.checkbox-style:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 3px;
    height: 15px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-group, .checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.95rem;
}

.checkbox-wrapper, .radio-wrapper {
    margin-bottom: 5px;    
}

.checkbox-label, .radio-label {
    margin-left: 6px;
    cursor: pointer;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.check-row .mud-checkbox {
    margin: 0 !important;
}

.check-text {
    font-size: 0.85rem;
    line-height: 1;
}

/* File Upload Zone */
.mud-file-upload-zone {
    width: 100%;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 16px;
    box-sizing: border-box;
    gap: 8px;
    border: 2px dashed #adafb2;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    background-color: #f8fafc;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    z-index: 1;
}

.mud-file-upload-zone:hover {
    background-color: #f1f5f9;
    border-color: #2c8a8a;
}

.mud-file-upload-zone .mud-file-upload-dragarea {
    border: none !important;
    background: transparent !important;
    min-height: unset !important;
    height: auto !important;
    padding: 0 !important;
}

.upload-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 110px;
    cursor: pointer;
}

.upload-icon {
    color: #2c8a8a;
    font-size: 28px;
}

.upload-text {
    margin: 0;
    background: transparent !important;
    border: none !important;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.file-card {
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
}

.file-preview {
    width: 100%;
    height: 140px;
    display: block;
    object-fit: cover;
}

.file-info {
    padding: 8px;
}

.file-input::-webkit-file-upload-button {
    visibility: hidden;
}
        
.file-input::before {
    content: "Upload File";
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

/* ========================================================================== */
/* 4. Tables, Lists & Grids                                                   */
/* ========================================================================== */
.mud-table {
    font-size: 16px;
    font-family: Roboto, Arial, sans-serif;
    width: 100%;
    max-width: 100%;
    color: white;
}

.mud-table tbody tr:nth-child(odd), .row-odd {
    background-color: #f4f6f7;  
    color: #000000;
}

.mud-table tbody tr:nth-child(even), .row-even {
    background-color: #eff7f3;  
    color: #000000;
}

.mud-table-cell {
    padding: 6px;
}

.mud-table-head .mud-table-cell {
    background: #2c8a8a !important;
    font-size: 14px !important;
    height: 30px !important;
    font-weight: 100;
    color: #eae4e4 !important; 
    align-items: center;   
}

.mud-table-body .mud-table-cell {
    font-size: 16px;
    font-family: Inter, Roboto, "Segoe UI", Arial, Helvetica, sans-serif;
    height: 30px;
}

.custom-table {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #484444;
    font-size: small;
    background-color: rgb(223, 223, 215);
    border-collapse: collapse;
    margin: 10px 0;
}

.custom-table th, .custom-table td {
    border: 0px solid #ccc;
    padding: 6px 8px;
    text-align: left;
}

.custom-table th {
    background-color: #4CAF50;
    color: white;
}

.custom-table tr:hover {
    background-color: #f1f1f1;
}

.tblColText {
    font-size: 1.0rem;
    color: whitesmoke;
}

.watcher-list, .option-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.watcher-list li, .option-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: #f2f2f2;
    margin-bottom: 6px;
    border-radius: 4px;
}

.watcher-close-btn {
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #888;
}

.watcher-close-btn:hover {
    color: #d00;
}

.horizontal-list li {
    display: inline-block;
    margin-right: 15px;
}

/* ========================================================================== */
/* 5. Tabs, Issues & Layout Containers                                        */
/* ========================================================================== */
.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    gap: 5px;
}

.tab-button {
    position: relative;
    padding: 6px 10px;
    background: #e0e0e0;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.tab-button.active {
    background: #9e9e9e;
    color: #ffffff;
}

.tab-content {
    padding: 1px;
}

.mytabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    width: 100%;
}

.mytab {
    padding: 10px 18px;
    background: #7c807d;
    cursor: pointer;
    margin-right: 4px;
    margin-bottom: 4px;
    color: #f5f5f5;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    font-weight: 500;
}

.mytab:hover {
    background: #e9e9e9;
    color: #7c807d;
}

.mytab.active {
    background: #d9f3e5;
    color: #7c807d;
}

.mytab-box {
    border: 1px solid #ccc;
    padding: 16px;
    background: #ffffff;
    border-radius: 0 6px 6px 6px;
}

/* Responsive Issue Split Panels */
.myissue-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

@media (min-width: 768px) {
    .myissue-container {
        flex-direction: row;
    }
    
    .left-column {
        flex: 6;
    }
    
    .right-column {
        flex: 4;
    }
}

.issues-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

@media (min-width: 768px) {
    .issues-container {
        flex-direction: row;
    }
    
    .issues-container .left,
    .issues-container .right {
        flex: 1;
    }
}

.issue-grid-vertical, .teil3-links, .mydecr-teil, .teil2-links {
    display: flex;        
    align-items: center;
    margin: 5px 0;
    font-family: Arial, sans-serif;
    font-size: 12px; 
}

.issue-teil-top-column {    
    background-color: white;
    color: rgb(131, 127, 127); 
    line-height: 20px;
    width: 150px;
}

.issue-teil-top-column-responsible {    
    color: gray; 
    line-height: 30px;
    min-width: 150px;
    padding-top: 10px;
}

.issue-teil-top-column-responsible-black {    
    color: rgb(78, 75, 75); 
    line-height: 30px;
    min-width: 200px;
    padding-top: 10px;
}

/* Drag & Drop Zones */
.dropzone {
    padding: 10px;
    border: 2px dashed #75868a;
    list-style: none;
    min-height: 50px;
}

.no-drop {
    border: 2px dashed red;
}

.can-drop {
    border: 2px dashed green;
}

.draggable, .issuetype-draggable {
    margin-bottom: 8px;
    padding: 10px;
    cursor: grab;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
    transition: 0.3s ease; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.draggable {
    background: #dfdde0;
    color: #121111;
}

.issuetype-draggable {
    background: #450b52;
    color: #f5eded;
}

.draggable:active, .issuetype-draggable:active,
.dragging, .issuetype-dragging {
    cursor: grabbing;
}

/* ========================================================================== */
/* 6. Dialogs, Modals & Overlays                                              */
/* ========================================================================== */
.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
}

.login-dialog {
    width: 100%;
    max-width: 380px;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.25);
}

.login-input {  
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    box-sizing: border-box;
}

.login-btn {
    width: 100%;
    padding: 12px;
}

.dialog-overlay, .image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto; /* Allows outer screen scrolling if needed */
}

.dialog {
    background: #f1c1e9;
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    max-height: 90vh !important;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;    
    overflow: hidden;
}

.dialog-body {
    background-color: #67b0b0;    
    max-height: calc(90vh - 100px) !important; /* Forces inner content to stay inside screen bounds */
    overflow-y: auto !important;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    flex-grow: 1;
    box-sizing: border-box;
}

.dialog-footer {
    padding: 1rem 0 0 0;
    border-top: 1px solid #ccc;
    text-align: right;
}

.image-modal-content {
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 8px;
    max-width: 95vw;
    max-height: 95vh;
}

.close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: red;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* ========================================================================== */
/* 7. History, Comments & Detail Components                                   */
/* ========================================================================== */
.history-item {
    border-left: 4px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    background: #fafafa;
}

.history-header {
    font-size: 14px;
    margin-bottom: 5px;
}

.old-value {
    color: rgb(244, 146, 146);
    margin-right: 8px;
}

.new-value {
    color: green;
    font-weight: normal;
}

.date {
    float: right;
    font-size: 12px;
    color: gray;
}

.history-grid-row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 12px;
}

.ticket-description-panel {
    margin: 12px 0;
}

.description-header {
    background: #f6f8fa;
    min-height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid #e5e7eb;
}

.description-title {
    font-weight: 600;
    color: #374151;
}

.description-content {
    padding: 6px;
    background: #ffffff;
}

.description-card {
    background: white;
    box-shadow: inset 5px 5px 10px rgba(240, 237, 237, 0.12), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
}

.ticket-description-view {
    padding: 12px;
    min-height: 120px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    line-height: 1.6;
    color: #374151;
}

.details-container {
    margin: 10px 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    padding: 0;
    font-size: 12px;
    line-height: 1.6;
}

.details-title {
    background: #f9f9fb;    
    color: rgb(105, 138, 230);
    padding: 4px 8px;
    cursor: pointer;
    user-select: none;
    border-radius: 8px;
}

.details-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 4px;
}

.details-container.collapsed .details-content {
    max-height: 0;
    padding: 0 4px;
}

.comment-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0;
}

.comment-list .content {
    flex: 1;
    margin-right: 12px;
    font-size: 1.0em;
    color: #5d5b5b;
}

.comment-list .title {
    white-space: nowrap;
    font-size: 1.0em;
    color: rgb(58, 70, 237);
}

.last-updated {
    font-size: 10px;
    color: #131414;
    font-weight: bold;
}

/* ========================================================================== */
/* 8. MudBlazor & Radzen Custom UI Tweaks                                     */
/* ========================================================================== */
.compact-checkbox {
    margin: 0;
    padding: 0;
}

.compact-checkbox .mud-button-root {
    padding: 2px;
}

.compact-checkbox .mud-icon-root {
    font-size: 18px;
}

.compact-checkbox .mud-typography {
    font-size: 0.85rem;
}

.enterprise-input .mud-input-control {
    margin-top: 2px;
    margin-bottom: 2px;
}

.enterprise-input .mud-input-slot {
    min-height: 30px !important;
    height: 30px !important;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.enterprise-input input {
    padding: 0 8px !important;
}

.enterprise-select-popover {
    border-radius: 8px !important;
    margin-top: 4px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e2e8f0 !important;
}

.enterprise-select-popover .mud-list-item {
    font-size: 14px !important;
    border-radius: 4px !important;
    margin: 2px 4px !important;
    padding: 6px 8px !important;
}

.mud-toggle-item.mud-toggle-item-selected {
    background-color: var(--mud-palette-primary);
    color: white;
    font-weight: 600;
}

.dialog-content-scroll::-webkit-scrollbar {
    width: 6px;
}

.dialog-content-scroll::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}

.dialog-content-scroll {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

/* Radzen HTML Editor overrides */
.rz-html-editor {
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.rz-html-editor:focus-within {
    border-color: var(--mud-palette-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--mud-palette-primary-rgb), 0.1) !important;
}

.rz-html-editor-toolbar {
    border-bottom: 1px solid var(--mud-palette-lines-inputs) !important;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.rz-html-editor-content ol {
    list-style-type: decimal !important;
    padding-left: 0px !important;
    margin-left: 0;
}
.rz-html-editor-content ol li {
    list-style-type: decimal !important;
    display: list-item;
}

/* Restore bullet lists */
.rz-html-editor-content ul {
    list-style-type: disc !important;
    padding-left: 0px !important;
}

.rz-html-editor-content ul li {
    list-style-type: disc !important;
    display: list-item;
}

.ticket-editor ol {
    list-style-type: decimal !important;
    padding-left: 0px !important;
    margin-left: 0 !important;
}

.ticket-editor ol li {
    display: list-item !important;
    list-style-type: decimal !important;
}

.ticket-editor ul {
    list-style-type: disc !important;
    padding-left: 0px !important;
}

.ticket-editor ul li {
    display: list-item !important;
    list-style-type: disc !important;
}
/* ========================================================================== */
/* Status & Priority Colored Select Fix (.status-alignment-fix)               */
/* ========================================================================== */

.status-alignment-fix .mud-input-control-input-container {  
    margin: 0 !important;
    padding: 0 !important;
}

.status-alignment-fix .mud-input-slot {
    display: flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    width: auto !important; 
    min-width: 0 !important;
    padding: 0 0 0 8px !important; 
    margin: 0 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    height: 38px !important;
    font-weight: bold !important;
    color: white !important; /* Forces the text to be white */
}

.status-alignment-fix .mud-input-adornment-end {
    margin-left: 2px !important;
    margin-right: 2px !important;
    flex-shrink: 0 !important;
    width: 14px;
}

.status-alignment-fix .mud-button-root.mud-icon-button {
    padding: 2px !important;
    height: 24px !important;
}

.status-alignment-fix .mud-icon-root {
    font-size: 1.15rem !important;
    color: white !important; /* Makes the dropdown arrow white as well */
}

.status-alignment-fix .mud-input-filled,
.status-alignment-fix .mud-input-outlined {
    background-color: transparent !important;
}
.wide-dropdown-menu {
    min-width: fit-content !important; /* Adjust this width as needed to fit the text on one line */
}
/* Centers the content vertically and horizontally on all screen sizes */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 16px; /* Adds breathing room on small mobile screens */
    box-sizing: border-box;
    background-color: rgba(229, 244, 246, 0.43); /* Matches your app background */
}

/* Responsive card styling that shrinks on mobile and caps its size on laptops */
.login-card-mobile {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
}

/* Ensures form-section inside scales cleanly without hardcoded 900px widths */
.login-container .form-section {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 0 !important;
    box-sizing: border-box;
}
.ims-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    /* add after changes */
    height: auto !important; /* Removes fixed height restrictions that cause clipping */
    min-height: 3.5rem;
    padding: 8px 12px;
    box-sizing: border-box;
}
.text-button {
    background: none;
    border: none;
    color: #7db5f1;
    cursor: pointer;
    font-size: 1.3em;
    padding: 0;
  }
  .video-play-btn {
    color: blue !important;
    min-width: 64px !important;
    padding: 40px !important;
}

.video-play-btn:hover {
    background-color: green !important;
    opacity: 0.75;
}
  