﻿/* TSU Custom Loading Spinner */
.tsu-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #FFD700; /* TSU Gold */
    border-bottom-color: #800000; /* TSU Maroon */
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: tsu-rotation 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes tsu-rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* TSU Custom Loading Spinner with Logo */
.tsu-spinner-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto; /* Centers the wrapper itself */
}

.tsu-spinner {
    width: 100%;
    height: 100%;
    border: 6px solid #FFD700; /* TSU Gold */
    border-bottom-color: #800000; /* TSU Maroon */
    border-radius: 50%;
    display: block;
    box-sizing: border-box;
    animation: tsu-rotation 1s linear infinite;
}

.tsu-spinner-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; /* Fits comfortably inside the spinning ring */
    height: auto;
}

@keyframes tsu-rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* TSU Custom Snackbar Styling */
/* TSU Custom Snackbar Styling */
.tsu-maroon-snackbar {
    background-color: #800000 !important; /* TSU Maroon */
    color: white !important;
}

    /* Make the 'INSTALL' action button Gold */
    .tsu-maroon-snackbar .mud-snackbar-action button {
        color: #FFD700 !important; /* TSU Gold */
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    /* Ensure the 'X' close icon is visible */
    .tsu-maroon-snackbar .mud-snackbar-close-icon button {
        color: white !important;
    }

/* --- NEW: Mobile Full-Width Adjustments --- */
@media (max-width: 600px) {
    .tsu-maroon-snackbar {
        /* Break out of the MudBlazor padded container */
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        /* Set position to top (Change this to 'bottom: 0 !important' if you want it at the bottom) */
        top: 0 !important;
        /* Force it to span the exact width of the screen */
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        /* Flatten corners and remove margins */
        border-radius: 0 !important;
        margin: 0 !important;
        z-index: 9999 !important; /* Ensure it stays above the navbar */
    }
}


/* Subtle breathing animation for the whole card */
.fox-container {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Modern bold font weight utility if not in your theme */
.fw-bold {
    font-weight: 800 !important;
    letter-spacing: -0.5px;
}