body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

/* Ensure RTL support */
body {
    direction: rtl;
}

.canvas {
    background: #caf0f8;
}

/* Original actions styles */
.actions {
    margin-bottom: 20px;
}

.actions .btn {
    margin: 10px;
    padding: 10px 20px;
    background-color: #00b4d8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.actions .btn-warn {
    margin: 10px;
    padding: 10px 20px;
    background-color: #EF6351;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.btn-warn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.actions .selected_btn {
    margin: 10px;
    padding: 10px 20px;
    background-color: #03045e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.actions .btn:hover {
    background-color: #03045e;
}


.submissions table {
    text-align: right;
}

.users table {
    width: 100%;
    border-collapse: collapse;
}

.users th, .users td {
    border: 1px solid #ddd;
    padding: 8px;
}

.users th {
    background-color: #f2f2f2;
}

.new-user, .transfer-user {
    margin-top: 20px;
}

.select-container {
    display: inline-block;
}

.select-container select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 32px 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

.input {
    margin: 10px;
    padding: 8px;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.input:focus {
    border-color: #3182ce;
    outline: none;
}

.new-user .btn, .transfer-user .btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #00b4d8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.new-user .btn:hover, .transfer-user .btn:hover {
    background-color: #03045e;
}

/* New log-op styles */
.log-op {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.log-op .btn {
    margin: 10px;
    padding: 10px 20px;
    background-color: #00b4d8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.log-op .btn-warn {
    margin: 10px;
    padding: 10px 20px;
    background-color: #EF6351;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.log-op .selected_btn {
    margin: 10px;
    padding: 10px 20px;
    background-color: #03045e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.log-op .btn:hover {
    background-color: #03045e;
}

.log-op h2 {
    margin: 20px 20px; /* Ensure proper vertical alignment */
    /* Other h2 specific styles can go here */
}

/* Override styles for left-side elements */
.left-side {
    direction: ltr; /* Force LTR direction */
    text-align: left; /* Align text to the left */
    float: none; /* Disable float for Flexbox compatibility */
    margin: 20px; /* Apply 20px margin */
}

/* Centered and right-aligned element */
.right-aligned-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
}

.centered-content {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    margin-right: 0.618rem; /* space between text and symbol */
}

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

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

#loading-indicator {
    z-index: 50; /* Ensure it's above other elements */
    display: none; /* Initially hidden */
    width: 200px;
    height: 100px;
    top: 50%;
    right: 40%;
    position: fixed;
}

.loader-text{
    margin: 10px;
}