/* Global styles for the BookStore application */

:root .lpx-brand-logo {
    --lpx-logo: url('/images/logo/leptonx/logo-light.png');
    --lpx-logo-icon: url('/images/logo/leptonx/logo-light-thumbnail.png');
}

.spinner {
    width: 40px;
    height: 40px;
    display: block;
    position: fixed;
    top: calc( 50% - ( 40px / 2) );
    right: calc( 50% - ( 40px / 2) );
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #333;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

.app-loading-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    color: #1f2937;
}

.app-loading-card {
    min-width: 280px;
    padding: 40px 48px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.12);
    text-align: center;
}

.app-loading-card .spinner {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto 24px;
}

.app-loading-title {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.app-loading-text {
    font-size: 14px;
    color: #64748b;
}

#ApplicationContainer > div:first-child:not(:only-child) {
    display: none !important;
}

:root {
    --mud-palette-primary: #2563eb;
    --mud-palette-primary-rgb: 37, 99, 235;
    --mud-palette-primary-text: #ffffff;
    --mud-palette-primary-darken: #1d4ed8;
    --mud-palette-primary-lighten: #3b82f6;
    --mud-palette-primary-hover: rgba(37, 99, 235, 0.08);
    --mud-palette-secondary: #64748b;
    --mud-palette-secondary-rgb: 100, 116, 139;
    --mud-palette-secondary-text: #ffffff;
    --mud-palette-secondary-darken: #475569;
    --mud-palette-secondary-lighten: #94a3b8;
    --mud-palette-secondary-hover: rgba(100, 116, 139, 0.08);
}

.mud-secondary-text,
.mud-typography.mud-secondary-text {
    color: #64748b !important;
}

code {
    color: #334155;
}
