﻿
@font-face {
    font-family: 'AsapFuente';
    src: url('/Fonts/Asap-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'AsapFuente';
    src: url('/Fonts/Asap-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'AsapFuente';
    src: url('/Fonts/Asap-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'AsapFuente';
    src: url('/Fonts/Asap-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'AsapFuente';
    src: url('/Fonts/Asap-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'AsapFuente';
    src: url('/Fonts/Asap-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}


:root {
    --bs-font-sans-serif: 'AsapFuente', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important; 
}

body {
    font-family: var(--bs-font-sans-serif);
}

.text-balance {
    text-wrap: balance;
}

.text-fill {
    text-align: justify !important;
    text-justify: inter-word !important;
    text-wrap: pretty !important;
}

body .bg-primary {
    background: #0060A8 !important;
    color: white !important;
}

body .btn-primary {
    background: #0060A8 !important;
    color: white !important;
    font-weight: 500 !important;
    border: none !important;
}

    body .btn-primary:hover {
        background: #064676 !important;
        color: white !important;
    }

body .btn-secondary {
    background: #6c757d !important;
    color: white !important;
    font-weight: 500 !important;
    border: none !important;
}

body .btn-success {
    background: #27c37b !important;
    color: white !important;
    font-weight: 500 !important;
    border: 1px solid #27c37b !important;
}
    body .btn-success:hover {
        background: #39ad78 !important;
        color: white !important;
        border: 1px solid #27c37b !important;
    }

body .btn-warning {
    background: #ffbf00a3 !important;
    color: white !important;
    font-weight: 500 !important;
    border: 1px solid #ffbf00a3 !important;
}

    body .btn-warning:hover {
        background: #ffbf0033 !important;
        color: white !important;
        border: 1px solid #ffbf0033 !important;
    }

body .btn-info {
    background: #40B4E5 !important;
    color: white !important;
    font-weight: 500 !important;
    border: 1px solid #40B4E5 !important;
}

    body .btn-info:hover {
        background: #319cc9 !important;
        color: white !important;
        border: 1px solid #319cc9 !important;
    }


body .bg-success {
    background: #27c37b !important;
    color: white !important;
}

body .bg-warning {
    background: #ffbf00a3 !important;
    color: white !important;
}



body .bg-info {
    background: #40B4E540 !important;
    color: white !important;
}


body .text-info {
    color: #40B4E5 !important;
}

body .text-success {
    color: #27c37b !important;
}

body .text-warning {
    color: #ffbf00a3 !important;
}


body .btn-secondary:hover {
    background: #494c4f !important;
    color: white !important;
}


body .dropdown-item {
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #0060A8 !important; 
}

    body .dropdown-item:hover {
        background-color: #0057a0 !important; 
        color: white !important;
    }
    body .dropdown-item:active {
        background-color: #004a82 !important;
        color: white !important;
    }

    body .dropdown-item:focus {
        background-color: #0050a0 !important;
        color: white !important;
    }

html body .text-primary {
    color: #0060A8 !important;
}


.image-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(360deg,rgba(0, 96, 168, 0.4) 0%, rgba(0, 96, 168, 0.5) 76%, rgba(0, 96, 168, 0.6) 100%);
    pointer-events: none;
}



.toast-container {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

    .toast-container.top-start {
        top: 20px;
        left: 20px;
    }

    .toast-container.top-end {
        top: 20px;
        right: 20px;
    }

    .toast-container.bottom-start {
        bottom: 20px;
        left: 20px;
    }

    .toast-container.bottom-end {
        bottom: 20px;
        right: 20px;
    }

/* Toast Styles */
.toast {
    background: white;
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
    min-width: 380px;
    max-width: 420px;
    padding: 4px 0px 0px 0px;
    pointer-events: auto;
    overflow: hidden;
    position: relative;
}

    .toast.success {
        color: #51e062;
    }

    .toast.warning {
        color: #ffbf00a3;
    }

    .toast.error {
        color: #ff6b6b;
    }

    .toast.loading {
        color: #667eea;
    }

.toast-body {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.7rem;
    color: #1a1a1a;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.toast-text {
    flex: 1;
    line-height: 1.4;
    letter-spacing: 0.3px;
    font-size: 0.9rem !important;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

.toast.toast-appear {
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    border-left: 6px solid currentColor;
}

.toast.toast-disappear {
    animation: slideOut 0.3s ease-out forwards;
}

@media (max-width: 480px) {
    .toast {
        min-width: 100%;
        max-width: 100%;
    }
}