*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Segoe UI',Roboto,Arial,sans-serif;background:#f4f6fa;color:#222;line-height:1.5}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.navbar{background:linear-gradient(90deg,#0f766e,#10b981);color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}
.nav-inner{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;flex-wrap:wrap;gap:10px}
.logo{font-size:1.4rem;font-weight:700;color:#fff;text-decoration:none}
.navbar nav a{color:#fff;text-decoration:none;margin-left:14px;font-size:.95rem}
.navbar nav a:hover{text-decoration:underline}
.btn-primary-sm{background:#fff;color:#0f766e !important;padding:6px 12px;border-radius:6px;font-weight:600}
.content{padding:24px 16px;min-height:70vh}
.hero{background:linear-gradient(135deg,#0f766e,#10b981);color:#fff;padding:60px 20px;border-radius:14px;text-align:center;margin-bottom:30px}
.hero h1{font-size:2.4rem;margin-bottom:12px}
.hero p{font-size:1.1rem;opacity:.95;margin-bottom:20px}
.btn{display:inline-block;background:#0f766e;color:#fff;padding:10px 22px;border-radius:8px;text-decoration:none;border:none;cursor:pointer;font-size:1rem;font-weight:600}
.btn:hover{background:#115e59}
.btn-light{background:#fff;color:#0f766e}
.btn-danger{background:#dc2626}
.btn-warn{background:#f59e0b}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:20px}
.card{display: flex;flex-direction: column;padding: 20px;border-radius: 15px;box-shadow: 0 4px 15px rgba(0,0,0,0.1);}
.card p{min-height: 60px;}
.card{background:#fff;border-radius:12px;padding:18px;box-shadow:0 2px 6px rgba(0,0,0,.06)}
.card h3{color:#0f766e;margin-bottom:8px}
.card .price{color:#dc2626;font-weight:700;font-size:1.2rem;margin:8px 0}
.court-img{width:100%;height:220px;overflow:hidden;border-radius:10px;background:#e2e8f0;margin-bottom:10px}
.court-img img{width:100%;height:100%;object-fit:cover;}
.form-box{background:#fff;max-width:480px;margin:30px auto;padding:30px;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.form-box h2{margin-bottom:18px;color:#0f766e;text-align:center}
.form-group{margin-bottom:14px}
.form-group label{display:block;margin-bottom:6px;font-weight:600;font-size:.92rem}
.form-group input,.form-group select,.form-group textarea{width:100%;padding:10px;border:1px solid #cbd5e1;border-radius:6px;font-size:.95rem;font-family:inherit}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#10b981}
.alert{padding:12px 16px;border-radius:8px;margin-bottom:16px}
.alert-success{background:#d1fae5;color:#065f46;border:1px solid #10b981}
.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #ef4444}
table{width:100%;border-collapse:collapse;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.05)}
th,td{padding:12px;text-align:left;border-bottom:1px solid #e2e8f0;font-size:.93rem}
th{background:#0f766e;color:#fff;font-weight:600}
tr:hover{background:#f8fafc}
.badge{padding:4px 10px;border-radius:20px;font-size:.78rem;font-weight:600;display:inline-block}
.badge-pending{background:#fef3c7;color:#92400e}
.badge-confirmed{background:#d1fae5;color:#065f46}
.badge-cancelled{background:#fee2e2;color:#991b1b}
.badge-completed{background:#dbeafe;color:#1e40af}
.footer{background:#1f2937;color:#cbd5e1;text-align:center;padding:20px;margin-top:40px;font-size:.9rem}
.page-title{font-size:1.8rem;color:#0f766e;margin-bottom:20px}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}
.actions a,.actions button{margin-right:6px;padding:5px 10px;border-radius:5px;color:#fff;text-decoration:none;font-size:.85rem;border:none;cursor:pointer}
.admin-layout{display:grid;grid-template-columns:220px 1fr;gap:20px}
.sidebar{background:#1f2937;color:#fff;border-radius:10px;padding:18px}
.sidebar h3{margin-bottom:14px;font-size:1rem;text-transform:uppercase;letter-spacing:1px;color:#10b981}
.sidebar a{display:block;color:#cbd5e1;padding:8px 10px;text-decoration:none;border-radius:6px;margin-bottom:4px;font-size:.92rem}
.sidebar a:hover,.sidebar a.active{background:#0f766e;color:#fff}
@media(max-width:768px){.admin-layout{grid-template-columns:1fr}.hero h1{font-size:1.7rem}}

.slider{position:relative;width: 100%;height:550px;overflow:hidden; border-radius:20px;margin-bottom:40px;}
.slide{position:absolute;top: 0;left: 0; width:100%;height:100%;opacity:0;transition:opacity .8s ease;}
.slide.active{opacity:1;z-index:2;}
.slide img{width:100%;height:100%;object-fit:cover;}
.hero-content{position:absolute;top:50%;left:5%;transform: translateY(-50%);text-align: left;background: transparent !important;text-align:center;padding: 20px;color:white;z-index: 5;}
.hero-content h1, .hero-content p {text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);}
.hero-content h1{font-size:3rem;margin-bottom:10px;}
.hero-content p{margin-bottom:20px;font-size:1.2rem;}
.slider-btn{position:absolute;top:50%;transform:translateY(-50%);width:55px;height:55px;border:none;border-radius:50%;cursor:pointer;font-size:24px;z-index:10;}
.prev{left:20px;}
.next{right:20px;}
.dots{position:absolute;bottom:20px;width:100%;text-align:center;z-index:10;}
.dot{width:14px;height:14px;border-radius:50%;display:inline-block;background:#fff;margin:0 5px;opacity:.5;cursor:pointer;}
.active-dot{opacity:1;background:#10b981;}
@media(max-width:768px){.slider{height:320px;}
.hero-content{width:90%;padding:20px;}
.hero-content h1{font-size:1.8rem;}}
.stat-container {display: grid;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));gap: 20px;margin: 40px 0;}
.stat-card {background: #fff;padding: 30px;border-radius: 20px;text-align: center;box-shadow: 0 10px 25px rgba(0,0,0,0.05);transition: 0.3s;}
.stat-card:hover {transform:translateY(-10px);box-shadow: 0 20px 40px rgba(0,0,0,0.1);}
.stat-icon {width: 60px;height: 60px;background: #d1fae5;color: #0f766e;border-radius: 50%;display: flex;align-items: center;justify-content: center;margin: 0 auto 15px;font-size: 1.5rem;}
.stat-card .num {font-size: 2rem;color: #1f2937;margin-bottom: 5px;}


.contact-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
/* ===== DASHBOARD PRO ===== */

.dashboard-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
    padding:25px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.dashboard-title{
    font-size:32px;
    font-weight:700;
    color:#0f172a;
}

.dashboard-date{
    color:#64748b;
    margin-top:5px;
}

.stat-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:25px;
}

.stat-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    transition:.3s;
    position:relative;
    overflow:hidden;
}

.stat-card:hover{
    transform:translateY(-5px);
}

.stat-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:5px;
    height:100%;
    background:#10b981;
}

.stat-card .label{
    color:#64748b;
    font-size:14px;
    margin-bottom:10px;
}

.stat-card .num{
    font-size:30px;
    font-weight:700;
    color:#111827;
}

.dashboard-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-bottom:20px;
}

.dashboard-box{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.dashboard-box h3{
    color:#0f766e;
    margin-bottom:15px;
    font-size:18px;
}

.dashboard-table{
    width:100%;
    border-collapse:collapse;
}

.dashboard-table th{
    background:#f1f5f9;
    color:#334155;
}

.dashboard-table th,
.dashboard-table td{
    padding:12px;
    border-bottom:1px solid #e2e8f0;
}

.dashboard-table tr:hover{
    background:#f8fafc;
}

.chart-box{
    background:#fff;
    border-radius:18px;
    padding:20px;
    margin-bottom:20px;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
}

.recent-booking{
    background:#fff;
    border-radius:18px;
    padding:20px;
    box-shadow:0 4px 20px rgba(0,0,0,.05);
}

@media(max-width:992px){
    .dashboard-row{
        grid-template-columns:1fr;
    }

    .dashboard-header{
        flex-direction:column;
        align-items:flex-start;
    }
}
.contact-btn:hover {transform: scale(1.1);}

.btn-zalo { background-color: #0084ff; }
.btn-fb { background-color: #1877f2; }
.btn-call { background-color: #10b981; } 
.dashboard-card{
    background:#fff;
    padding:25px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

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

.table-header h3{
    color:#0f766e;
}

.table-header input{
    padding:10px 15px;
    border:1px solid #cbd5e1;
    border-radius:10px;
}

.modern-table{
    width:100%;
    border-collapse:collapse;
}

.modern-table th{
    background:#0f766e;
    color:#fff;
}

.modern-table th,
.modern-table td{
    padding:12px;
}

.modern-table tr:hover{
    background:#f8fafc;
}

.form-box{
    max-width:700px;
}
.container-cac-san {
    display: grid;
    /* T? d?ng tính toán s? c?t d?a trên chi?u r?ng t?i thi?u c?a ô (ví d?: 280px) */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px; /* Kho?ng cách gi?a các ô */
}

/* Floating Contact */
.floating-contact-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* Kho?ng cách gi?a các nút */
  z-index: 1000;
}

.btn-float {
  width: 50px;
  height: 50px;
  background-color: #007bff; /* Màu n?n c?a nút */
  color: white;
  border-radius: 50%; /* Làm tṛn nút */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.btn-float:hover {
  transform: scale(1.1); /* Hi?u ?ng phóng to nh? khi di chu?t */
}
.contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.btn-contact {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.btn-contact:hover {
    transform: scale(1.1);
}
<style>
.court-svg-item .court-rect{
    transition: all .25s ease;
}

.court-svg-item:hover .court-rect{
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.12));
}
</style>