/* ========================================== */
/* 0. CÀI ĐẶT CHUNG & BIẾN MÀU 3D             */
/* ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #e0f2fe; 
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --primary-blue: #0284c7;
    --danger-red: #ef4444;
    
    /* Neumorphic Shadows */
    --shadow-light: #ffffff;
    --shadow-dark: #bae6fd;
    --shadow-outset: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
    --shadow-inset: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    width: 100%;
    max-width: 100vw;
    overflow: hidden; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 40px;
}

.hidden { display: none !important; }
.text-center { text-align: center; }
.text-red { color: var(--danger-red); text-shadow: 1px 1px 2px rgba(0,0,0,0.05); }
/* ========================================== */
/* 1. TOPNAV (LOGO + SLOGAN + LOGIN)          */
/* ========================================== */
.top-header {
    width: 100%;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    padding: 30px 20px 10px 20px;
}

.logo-wrapper {
    background-image: url(/assets/img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 120px;
    height: 120px;
    filter: drop-shadow(4px 4px 10px rgba(0,0,0,0.1));
}

.slogan-text {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    text-align: center;
}

.btn-login-home {
    margin-top : 15px;
    background-color: var(--bg-main);
    color: var(--primary-blue);
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--shadow-outset);
    transition: all 0.2s ease;
}

.btn-login-home:active {
    box-shadow: var(--shadow-inset);
    transform: translateY(2px);
}

/* ========================================== */
/* 2. BANDROLL SỰ KIỆN                        */
/* ========================================== */
.bandroll-section {
    width: 100%;
    max-width: 500px;
    padding: 15px 20px;
}

.bandroll-container {
    width: 100%;
    height: 120px;
    background-color: var(--bg-main);
    border-radius: 16px;
    padding: 6px;
    box-shadow: var(--shadow-outset);
    margin-top : 15px;
}

.bandroll-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* ========================================== */
/* 3. MENU CHỨC NĂNG                          */
/* ========================================== */
.action-menu {
    width: 100%;
    max-width: 500px;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-action {
    width: 100%;
    padding: 16px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 25px;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-outset);
    outline: none;
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-action:active {
    box-shadow: var(--shadow-inset);
    transform: translateY(2px);
    color: #0369a1;
}

.btn-blue { color: var(--primary-blue); }
.btn-white { color: #0f172a; }

/* ========================================== */
/* 4. KHU VỰC SOS                             */
/* ========================================== */
.sos-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.sos-wrapper {
    position: relative;
    width: 220px; height: 220px;
    display: flex; justify-content: center; align-items: center;
    background-color: var(--bg-main);
    border-radius: 50%;
    box-shadow: var(--shadow-outset);
}

.btn-sos {
    position: relative;
    z-index: 5;
    width: 140px; height: 140px;
    background: radial-gradient(circle at 30% 30%, #ff8a8a, var(--danger-red), #b91c1c);
    color: white; font-size: 38px; font-weight: 900;
    border-radius: 50%; border: none; cursor: pointer;
    box-shadow: 10px 10px 20px rgba(185, 28, 28, 0.4), -5px -5px 15px rgba(255, 255, 255, 0.7),
                inset -10px -10px 20px rgba(0, 0, 0, 0.3), inset 10px 10px 20px rgba(255, 255, 255, 0.6);
    transition: transform 0.1s; outline: none;
}

.btn-sos:active {
    transform: scale(0.95);
    box-shadow: 5px 5px 10px rgba(185, 28, 28, 0.5), inset -5px -5px 15px rgba(0, 0, 0, 0.4), inset 5px 5px 15px rgba(255, 255, 255, 0.3);
}

/* Sóng nước toả bằng pseudo-elements */
.sos-ring, .sos-ring::before, .sos-ring::after {
    position: absolute; width: 140px; height: 140px; border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), inset 0 0 15px rgba(2, 132, 199, 0.2);
    will-change: transform, opacity;
    animation: optimizedWave 1s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
    opacity: 0; pointer-events: none; z-index: 1;
}
.sos-ring::before { content: ""; animation-delay: 1s; }
.sos-ring::after { content: ""; animation-delay: 2s; }

@keyframes optimizedWave {
    0% { transform: scale(1) translate3d(0,0,0); opacity: 0.9; }
    100% { transform: scale(3.5) translate3d(0,0,0); opacity: 0; }
}

.warning-text {
    color: var(--danger-red);
    margin-top: 35px; font-weight: 700; text-align: center; font-size: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

/* ========================================== */
/* 5. MODAL KHẨN CẤP & GLASSMORPHISM          */
/* ========================================== */
.modal-background {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 23, 42, 0.4); z-index: 1000; align-items: center; justify-content: center;
}
.modal-background.show { display: flex; }

.modal-content {
    background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); padding: 30px 20px; border-radius: 20px;
    width: 90%; max-width: 400px; text-align: center; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}
.modal-desc { color: var(--text-muted); margin-bottom: 20px; font-size: 13px; }

.location-select {
    width: 100%; background-color: var(--bg-main); border: none; padding: 14px; margin: 15px 0;
    border-radius: 12px; font-size: 14px; color: var(--text-dark); box-shadow: var(--shadow-inset);
    outline: none; font-family: inherit;
}
.location-select:focus { box-shadow: inset 8px 8px 16px #bae6fd, inset -8px -8px 16px #ffffff; }

.divider { display: flex; align-items: center; text-align: center; margin: 15px 0; color: var(--text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--glass-border); }
.divider span { padding: 0 10px; }

.btn-gps, .btn-cancel, .btn-submit {
    padding: 14px; border: none; border-radius: 12px; font-weight: 700; cursor: pointer;
    font-size: 14px; background-color: var(--bg-main); box-shadow: var(--shadow-outset); outline: none;
}
.btn-gps { width: 100%; margin-bottom: 10px; color: var(--primary-blue); display: flex; justify-content: center; gap: 8px; }
.btn-gps:active, .btn-cancel:active { box-shadow: var(--shadow-inset); transform: translateY(2px); }

.modal-buttons { display: flex; gap: 15px; margin-top: 15px; }
.btn-cancel { color: var(--text-muted); flex: 1; }
.btn-submit { color: white; background-color: var(--danger-red); flex: 2; box-shadow: 4px 4px 10px rgba(239, 68, 68, 0.3); }
.btn-submit:active { box-shadow: inset 4px 4px 8px rgba(0,0,0,0.2); transform: translateY(2px); }

/* ========================================== */
/* 6. HỆ THỐNG CHAT & TOAST                   */
/* ========================================== */
.btn-chat-float {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    border-radius: 50%; border: none; background-color: var(--bg-main);
    color: var(--primary-blue); font-size: 24px; cursor: pointer;
    box-shadow: var(--shadow-outset); z-index: 50; transition: transform 0.2s;
}
.btn-chat-float:active { box-shadow: var(--shadow-inset); transform: translateY(2px); }
.btn-chat-float.hide { transform: scale(0); opacity: 0; pointer-events: none; }

.chat-window {
    display: flex; flex-direction: column; position: fixed; bottom: 100px; right: 30px;
    width: 350px; height: 500px; background: var(--glass-bg); backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border); border-radius: 20px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 50; overflow: hidden; transform-origin: bottom right; transform: scale(0); opacity: 0; pointer-events: none; transition: 0.3s;
}
.chat-window.active { transform: scale(1); opacity: 1; pointer-events: auto; }

.chat-header {
    background: rgba(255,255,255,0.4); color: var(--text-dark); padding: 18px 20px;
    display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--glass-border);
}
.chat-header h3 { font-size: 15px; font-weight: 700; margin: 0; }
.btn-icon { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 16px; }

.switch-chat { padding: 10px; display: flex; justify-content: center; }
.btn-switch-human {
    background-color: var(--bg-main); color: var(--warning-orange); border: none; padding: 10px 15px; font-size: 12px; font-weight: 700; cursor: pointer; width: 100%; border-radius: 12px; box-shadow: var(--shadow-inset);
}

.chat-interface { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }

.msg { max-width: 85%; padding: 12px 16px; border-radius: 12px; font-size: 13px; line-height: 1.5; box-shadow: 2px 2px 5px rgba(0,0,0,0.05); }
.bot-msg { background-color: rgba(255,255,255,0.6); border: 1px solid var(--glass-border); align-self: flex-start; border-bottom-left-radius: 4px; }
.user-msg { background-color: var(--primary-blue); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }

.chat-footer { display: flex; padding: 15px; border-top: 1px solid var(--glass-border); gap: 10px; }
.chat-footer input { flex: 1; padding: 12px 16px; border: none; border-radius: 12px; background-color: var(--bg-main); box-shadow: var(--shadow-inset); outline: none; font-size: 13px; }
.chat-footer button { width: 45px; height: 45px; border-radius: 50%; border: none; background-color: var(--bg-main); color: var(--primary-blue); cursor: pointer; box-shadow: var(--shadow-outset); display: flex; align-items: center; justify-content: center; }
.chat-footer button:active { box-shadow: var(--shadow-inset); }

.toast-notification {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-100px);
    background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); border: 1px solid var(--glass-border);
    color: var(--text-dark); padding: 14px 24px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-weight: 700; font-size: 14px; z-index: 9999; opacity: 0; transition: all 0.4s ease; text-align: center;
}
.toast-notification.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (min-width: 1023px) {
    .chat-window { bottom: 20px; }
}
/* ========================================== */
/* 7. GIAO DIỆN CHUNG (HEADER, FORM CONTAINER)*/
/* ========================================== */
.page-header {
    width : 100%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    color: var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
}

.header-spacer {
    width: 80px;
}

.btn-back {
    background: var(--bg-main);
    border: none;
    color: var(--primary-blue);
    padding: 10px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: var(--shadow-outset);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    outline: none;
}

.btn-back:active {
    box-shadow: var(--shadow-inset);
    transform: translateY(2px);
}

.form-container {
    padding: 30px 20px;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.form-note {
    background: rgba(255, 255, 255, 0.4);
    color: var(--text-dark);
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-outset);
    line-height: 1.5;
}

.form-note b {
    color: var(--primary-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 14px;
}

.input-field {
    width: 100%;
    background-color: var(--bg-main);
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: var(--shadow-inset);
    outline: none;
    transition: 0.2s;
    font-family: inherit;
}

.input-field:focus {
    box-shadow: inset 8px 8px 16px var(--shadow-dark), inset -8px -8px 16px var(--shadow-light);
}

.input-error {
    box-shadow: inset 4px 4px 8px rgba(239, 68, 68, 0.2), inset -4px -4px 8px #ffffff !important;
}


/* ========================================== */
/* 8. TRANG GỬI BÁO CÁO (baocao.html)         */
/* ========================================== */
.upload-box {
    border: 2px dashed rgba(2, 132, 199, 0.4);
    background-color: var(--bg-main);
    box-shadow: var(--shadow-inset);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    color: var(--primary-blue);
    font-weight: 700;
    transition: all 0.2s;
}

.upload-box:active {
    background: rgba(2, 132, 199, 0.05);
}

.upload-box-active {
    border-color: #10b981 !important;
    color: #10b981 !important;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.preview-item {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-outset);
}

.video-preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-inset);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 12px;
    border-radius: 10px;
}


/* ========================================== */
/* 9. TRANG TRA CỨU TIẾN ĐỘ (tracuu.html)     */
/* ========================================== */
.search-input-lg {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.result-wrapper {
    margin-top: 30px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-outset);
}

.result-title {
    color: var(--primary-blue);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 12px;
    font-weight: 800;
    font-size: 16px;
}

.ticket-highlight {
    color: var(--danger-red);
}

.processing-msg {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Khung trạng thái */
.status-warning-box {
    background-color: var(--bg-main);
    box-shadow: var(--shadow-outset);
    border-left: 4px solid var(--warning-orange);
    padding: 15px;
    margin-top: 25px;
    border-radius: 12px;
}

.warning-title { color: var(--warning-orange); margin: 0 0 10px 0; font-size: 15px; font-weight: 700; }
.warning-note { margin: 0; font-size: 13px; color: var(--text-dark); line-height: 1.5; }

.status-success-box {
    background-color: var(--bg-main);
    box-shadow: var(--shadow-outset);
    border-left: 4px solid #10b981;
    padding: 15px;
    margin-top: 25px;
    border-radius: 12px;
}

.success-title { color: #10b981; margin: 0 0 10px 0; font-size: 15px; font-weight: 700; }
.success-note { margin: 0; font-size: 13px; color: var(--text-dark); line-height: 1.5; }

.upload-extra-box {
    margin-top: 15px;
    background: var(--bg-main);
    box-shadow: var(--shadow-inset);
    padding: 15px;
    border-radius: 12px;
    border: 2px dashed rgba(2, 132, 199, 0.4);
}

.upload-title { margin: 0 0 10px 0; font-weight: 700; font-size: 14px; color: var(--primary-blue); }
.hidden-status { margin-top: 10px; font-size: 13px; font-weight: 700; display: none; color: #10b981; }

/* Timeline 3D Neumorphism */
.timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(2, 132, 199, 0.2);
}

.timeline-step {
    position: relative;
    padding-bottom: 25px;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -31px;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bg-main);
    box-shadow: var(--shadow-outset);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-content h4 {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.timeline-step.active .timeline-dot {
    background-color: #10b981;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.timeline-step.active .timeline-content h4 { color: var(--primary-blue); }
.timeline-step.active .timeline-content p { color: var(--text-dark); }


/* ========================================== */
/* 10. GIAO DIỆN TRANG ĐĂNG NHẬP (LOGIN)       */
/* ========================================== */
.login-body {
    background-color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-box {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    padding: 40px 30px;
    max-width: 420px;
}

.login-title {
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
}

.error-message {
    color: var(--danger-red);
    background: var(--bg-main);
    box-shadow: var(--shadow-inset);
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.back-link {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    display: inline-block;
    margin-top: 15px;
}

.back-link:hover {
    color: var(--primary-blue);
}
/* ========================================== */
/* 11. HIỆU ỨNG & ANIMATIONS                   */
/* ========================================== */
.toast-notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background-color: #2a9d8f;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    font-size: 16px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.5s ease;
    text-align: center;
}

.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    50% {
        transform: translateX(6px);
    }

    75% {
        transform: translateX(-6px);
    }

    100% {
        transform: translateX(0);
    }
}

.shake-error {
    animation: shake 0.3s ease-in-out;
}



/* ========================================== */
/* 12. ĐIỀU CHỈNH GIAO DIỆN MÁY TÍNH (PC)     */
/* ========================================== */
@media (min-width: 1023px) {
    .top-header {
        flex-direction: row;
        justify-content: space-between;
        height: 80px;
        padding: 0 40px;
    }

    .logo-wrapper {
        position: relative !important;
        left: 0 !important;
        top : 100px;
        transform: none;
        width: 200px;
        height: 200px;
        margin-bottom: 0;
        background-position: left center;
    }

    .slogan-text {
        flex: 1;
        margin-top: 0;
        font-size: 16px;
        text-align: center;
        transform: translateX(-8%);
    }

    .btn-login-home {
        margin-top: 0;
        padding: 12px 24px;
    }

    /* 2. Căn chỉnh khoảng cách khối trung tâm */
    .bandroll-section {
        margin-top: 100px; /* Đẩy xuống để không bị Header đè lên */
        max-width: 700px;
    }

    /* 3. Xử lý Menu: Trải 2 nút nằm ngang cạnh nhau cho cân đối */
    .action-menu {
        flex-direction: row;
        justify-content: center;
        max-width: 700px;
        gap: 20px;
    }

    .btn-action {
        max-width: 320px;
        margin-top: 0; /* Bỏ margin dư thừa của giao diện dọc */
    }

    .sos-main {
        padding-top: 20px;
    }

    /* 4. Các phần tử cố định */
    .chat-window {
        bottom: 30px;
    }

    /* Giữ cho nút trong form luôn tràn viền thay vì bị bó hẹp */
    #btn-submit-report,
    #btn-search {
        max-width: 100%;
    }
}
/* ========================================== */
/* CÁC CLASS CHO NÚT GPS KHẨN CẤP             */
/* ========================================== */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0 15px 0;
    color: #64748b;
    font-size: 13px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #cbd5e1;
}

.divider span {
    padding: 0 10px;
}

.btn-gps {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background-color: #f0f9ff;
    color: #0284c7;
    border: 1px dashed #0ea5e9;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.btn-gps:hover { background-color: #e0f2fe; }

/* Trạng thái khi đã lấy được GPS thành công */
.btn-gps.active {
    background-color: #d1fae5;
    color: #059669;
    border-color: #10b981;
}
/* Nút bấm mở Bản đồ trong Bảng Admin */
.btn-map-link {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: #e0f2fe;
    color: #0284c7;
    border: 1px solid #7dd3fc;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-map-link:hover {
    background-color: #0284c7;
    color: white;
}