/* =========================================================
   Parking System Petrich V2
   Professional Admin Theme
   ========================================================= */

:root {
    --primary: #0d6efd;
    --primary-dark: #084298;
    --sidebar-bg: #1f2937;
    --sidebar-hover: #2563eb;
    --body-bg: #f4f6f9;
    --card-bg: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --shadow: 0 8px 24px rgba(0,0,0,.08);
}

* {
    box-sizing: border-box;
}

body {
    background: var(--body-bg);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    font-size: 15px;
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    height: 72px;
    background: linear-gradient(90deg, #0d6efd, #0645ad);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    box-shadow: 0 3px 16px rgba(0,0,0,.22);
    border-bottom: 3px solid rgba(255,255,255,.15);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.logo-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,.88);
}

.user-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-name {
    font-weight: 700;
    font-size: 15px;
}

.user-name i {
    margin-right: 6px;
}

/* =========================================================
   SIDEBAR
   ========================================================= */

aside {
    width: 260px !important;
    min-height: calc(100vh - 72px) !important;
    background: var(--sidebar-bg) !important;
    border-right: none !important;
    box-shadow: 3px 0 18px rgba(0,0,0,.14);
    display: flex;
    flex-direction: column;
}

aside nav {
    flex: 1;
    padding: 18px 12px !important;
}

aside .nav {
    gap: 4px;
}

aside .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #090909 !important;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all .22s ease;
}

aside .nav-link i {
    width: 22px;
    text-align: center;
    font-size: 18px;
    color: #aab4c0;
    transition: all .22s ease;
}

aside .nav-link:hover {
    background: rgba(255,255,255,.10);
    color: #1D51FA !important;
    transform: translateX(4px);
}

aside .nav-link:hover i {
    color: #1D51FA;
}

aside .nav-link.active {
    background: linear-gradient(90deg, #2563eb, #0d6efd);
    color: #1D51FA !important;
    box-shadow: 0 6px 16px rgba(37,99,235,.35);
}

aside .nav-link.active i {
    color: #1D51FA;
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #b7c0cc;
    font-size: 13px;
}

.sidebar-footer .version {
    color: #fff;
    font-weight: 700;
    margin-bottom: 4px;
}

.sidebar-footer hr {
    border-color: rgba(255,255,255,.12);
}

.sidebar-footer strong {
    color: #fff;
}

/* =========================================================
   MAIN
   ========================================================= */

main {
    background: var(--body-bg);
    padding: 32px !important;
}

h1, h2, h3 {
    color: var(--text-dark);
    font-weight: 800;
}

h1 {
    font-size: 42px;
    margin-bottom: 24px;
}

h2 {
    font-size: 32px;
}

/* =========================================================
   CARDS
   ========================================================= */

.card {
    border: none;
    border-radius: 16px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    transition: all .25s ease;
}

.card:hover {
    transform: none;
    box-shadow: 0 14px 32px rgba(0,0,0,.12);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    border-radius: 16px 16px 0 0 !important;
    font-weight: 800;
    font-size: 16px;
    padding: 16px 20px;
}

.card-body {
    padding: 20px;
}

/* =========================================================
   DASHBOARD CARDS
   ========================================================= */

.card h5 {
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 34px;
    font-weight: 900;
    color: var(--primary);
}

/* =========================================================
   TABLES
   ========================================================= */

.table {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

.table thead th {
    background: #eef4ff !important;
    color: #1f2937;
    font-weight: 800;
    border-bottom: 1px solid #dbe7ff;
    padding: 14px;
}

.table tbody td {
    padding: 13px 14px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: #f8fbff;
}

/* =========================================================
   FORMS
   ========================================================= */

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
}

.form-label {
    font-weight: 700;
    color: #374151;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 9px 16px;
    transition: all .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
}

.btn-success {
    background: #198754;
    border-color: #198754;
}

.btn-danger {
    background: #dc3545;
    border-color: #dc3545;
}

.btn-secondary {
    background: #6b7280;
    border-color: #6b7280;
}

/* =========================================================
   BADGES / ALERTS
   ========================================================= */

.badge {
    border-radius: 999px;
    padding: 7px 11px;
    font-weight: 800;
}

.alert {
    border-radius: 14px;
    border: none;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

/* =========================================================
   PARKING PAGE
   ========================================================= */

.parking-spot {
    cursor: pointer;
    transition: filter .12s ease, outline-color .12s ease;
    transform: none !important;
}

.parking-spot:hover {
    transform: none !important;
    box-shadow: none !important;
    z-index: auto !important;
    filter: brightness(1.12);
    outline: 2px solid #ffffff;
    outline-offset: -2px;
}

.bg-success {
    background-color: #168957 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* =========================================================
   MODALS
   ========================================================= */

.modal-content {
    border-radius: 18px;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.modal-header {
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-weight: 800;
}

/* =========================================================
   LINKS
   ========================================================= */

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {
    aside {
        width: 220px !important;
    }

    main {
        padding: 22px !important;
    }

    h1 {
        font-size: 34px;
    }

    .logo-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .topbar {
        height: auto;
        padding: 14px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .d-flex {
        flex-direction: column;
    }

    aside {
        width: 100% !important;
        min-height: auto !important;
    }

    aside nav {
        padding: 10px !important;
    }

    main {
        padding: 18px !important;
    }
}
.developer strong{
	color:black;
}
.developer {
	color:black;
}
.parking-editor-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    overflow: hidden;
}

.parking-editor-map {
    display: block;
    max-width: 100%;
}

.parking-editor-spot {
    position: absolute;
    background: #0d6efd;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: move;
    user-select: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    z-index: 5;
}

.parking-editor-spot.dragging {
    background: #dc3545;
    z-index: 100;
    transform: scale(1.08);
}