﻿.dashboard-container {
    padding: 24px;
}

.grid-card {
    background: white;
    border: 2px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    padding: 20px;
}

    .grid-card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }

    .grid-section {
        margin-bottom: 40px;
    }

.saim-card-grid {
    background: white;
    border: 2px solid #ccc !important;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    overflow: hidden;
}

    .saim-card-grid:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }

    .saim-card-grid .k-grid-header {
        background-color: #f5f5f5;
        border-bottom: 2px solid #d6d6d6;
    }

    .saim-card-grid .k-grid-header th {
        font-weight: 700;
        font-size: 14px;
        color: #333;
        padding: 14px 16px;
        letter-spacing: 0.5px;
    }

    /* Odd rows */
    .saim-card-grid .k-table-tbody .k-table-row:nth-child(odd) {
        background-color: #ffffff;
    }

    /* Even rows */
    .saim-card-grid .k-table-tbody .k-table-row:nth-child(even) {
        background-color: #f3f3f3;
    }

    .saim-card-grid a {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 4px;
        background: #eef6ff;
        color: #0d6efd;
        font-weight: 600;
        text-decoration: none;
    }

        .saim-card-grid a:hover {
            background: #d9ecff;
        }

/* This is for the card on main page */
.square-card {
    width: 250px;
    height: 200px; /* use height instead of aspect-ratio to test */
    border: 2px solid #ccc;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .square-card:hover {
        box-shadow: 0 8px 20px rgba(0,0,0,.3);
    }

/* This is for space between title and components */
.page-content {
    padding: 20px;
}

.page-container {
    padding: 20px;
}

/* Space below the page title */
.page-title {
    margin-bottom: 30px;
}
    .facility-name {
        display: flex;
        justify-content: flex-end;
        margin-bottom: 20px;
    }

/* Space below the cards */
.card-row {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

/* Space below the Vehicle Grid title */
.section-title {
    margin-bottom: 20px;
}

.map-container {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.top-header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: white;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.app-logo {
    height: 70px;
    width: auto;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 550;
}

.logout-btn {
    padding: 0;
    text-decoration: none;
    font-size: 20px;
    font-weight: 550;
}

.grid-wrapper {
    position: relative;
}

.custom-loader .k-loader-container-overlay {
    background-color: #867474 !important;
}

.ticket-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    background: white;
    padding: 10px 18px;
    cursor: pointer;
    transition: all .2s ease;
    color: #0d6efd;
    font-weight: 600;
}

    .nav-button:hover {
        background: #f4f8ff;
        border-color: #0d6efd;
        box-shadow: 0 2px 8px rgba(0,0,0,.1);
    }

.nav-arrow {
    font-size: 22px;
    line-height: 1;
}

.nav-button small {
    color: #666;
    font-weight: normal;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

    .page-header .page-title {
        margin-bottom: 0;
    }

    .page-header .facility-name {
        display: flex;
        align-items: center;
        margin-bottom: 0;
    }

.page-header .facility-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.facility-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #666;
    margin: 0;
}
.refresh-btn.k-button {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: none;
}

    .refresh-btn.k-button:hover {
        background: #0b5ed7;
        border-color: #0b5ed7;
    }

.header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}