html {
    scroll-behavior: smooth;
}

a:link,
a:visited {
    color: initial;
}

a:hover {
    color: blue;
}

a.nodec {
    text-decoration: none;
    color: inherit;
}

a.nodec:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Actions */
.slideAway {
    transition: 1s ease 0.45s, opacity 0.35s linear;
    height: 0px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 0px !important;
    border-width: 0px !important;
    overflow: hidden !important;
}

.fadeAway {
    transition: 1s ease 0.45s, opacity 0.35s linear;
    opacity: 0 !important;
}

/* Modern Flash Messages */
.flash-overlay {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 43, 120, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.flash-container {
    max-width: 500px;
    width: 90%;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    animation: slideIn 0.4s ease-out;
    padding: 10px;
}

.flash-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    position: relative;
    animation: slideIn 0.4s ease-out;
    transition: all 0.3s ease;
}



.flash-message:last-child {
    margin-bottom: 0;
}

.flash-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.flash-content {
    flex: 1;
    padding-top: 8px;
}

.flash-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    font-weight: 500;
}

.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.6;
    flex-shrink: 0;
}



.flash-close svg {
    color: #666;
}

/* Message Type Styles */
.flash-success {
    border-left-color: #22c55e;
}

.flash-success .flash-icon {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.flash-error {
    border-left-color: #ef4444;
}

.flash-error .flash-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.flash-warning {
    border-left-color: #f59e0b;
}

.flash-warning .flash-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.flash-info {
    border-left-color: #0ACBF5;
}

.flash-info .flash-icon {
    background: linear-gradient(135deg, #0ACBF5, #256099);
    color: white;
}

.flash-footer {
    text-align: center;
    margin-top: 20px;
}

.flash-close-all {
    background: linear-gradient(135deg, #0ACBF5, #256099);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 203, 245, 0.3);
}

.flash-close-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 203, 245, 0.4);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 43, 120, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.loading-container {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.4s ease-out;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0ACBF5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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

.loading-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.5em;
    font-weight: 600;
    color: #333;
    background: linear-gradient(135deg, #0ACBF5, #256099);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-text p {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.4;
}