/* Custom Styling for Nawala Checker Dashboard */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    margin-bottom: 20px;
}

.card:hover:not(.modal-open) {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* Disable card hover when modal is open */
body.modal-open .card:hover {
    transform: none;
}

/* Ensure modal stability */
.modal {
    z-index: 1055;
}

.modal-dialog {
    position: relative;
    transform: none;
}

/* Prevent any animations on modal elements */
.modal-content {
    transform: none !important;
    transition: none !important;
}

.card-header {
    font-weight: 600;
}

.shadow {
    box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15)!important;
}

.footer {
    margin-top: auto;
    box-shadow: 0 -0.15rem 0.75rem 0 rgba(58,59,69,.05);
}

table th {
    font-weight: 600;
}

/* Refresh timer animation */
@keyframes spin {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}

#refresh-timer .fa-sync-alt {
    animation: spin 2s linear infinite;
    display: inline-block;
}

/* Card stats styling */
.card .card-body h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0;
}
