﻿.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    width: 100%;
    height: 100vh;
}
.small-loading-spinner {
    position: relative;
    width: 30px;
    height: 30px;
}

.loading-spinner {
    position: relative;
    width: 48px;
    height: 48px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(6, 79, 59, 0.15);
    border-top-color: #064F3B;
    border-right-color: #064F3B;
    border-radius: 50%;
    animation: loading-spin 0.8s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 4px solid transparent;
    border-top-color: #34D399;
    border-radius: 50%;
    animation: loading-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}

@@keyframes loading-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-message {
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.025em;
}

.dialog-loading-wrapper .loading-container {
    height: 200px;
}

/* Fix Radzen Notification text overflow */
.rz-notification {
    max-width: 500px !important;
}

.rz-notification-content {
    word-break: break-word;
    white-space: normal;
}

.rz-notification-detail {
    max-height: 150px;
    overflow-y: auto;
    word-break: break-word;
}
