html {
    direction: rtl;
}

body {
    margin: 0;
}

.mud-main-content {
    padding-top: 24px;
}

.app-search .mud-input-control {
    margin-top: 0;
}

.app-search .mud-input-root {
    border-radius: 10px;
}

.stat-card {
    border-radius: 16px;
    transition: all .2s ease;
}

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

.page-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mud-card {
    border-radius: 14px;
}

#app {
    width: 100vw;
    height: 100vh;
}

.app-loader {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    user-select: none;
}

.loader-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: #594AE2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.loader-title {
    font-size: 24px;
    font-weight: 700;
}

.loader-subtitle {
    opacity: .65;
    font-size: 14px;
}

.loader-progress {
    width: 260px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: #594AE2;
    transition: width .15s linear;
}

.loader-percent {
    font-size: 14px;
    font-weight: 600;
}

/* =========================================
   Global Page Layout
   ========================================= */

.app-page-container {
    width: 100%;
    box-sizing: border-box;
}

.app-page-paper {
    width: 100%;
    box-sizing: border-box;
}
