/* ============================
   CSS TRANG TOUR TRONG NƯỚC (dos.css)
   ============================ */

body {
    background: #ffffff;
    font-family: "Segoe UI", sans-serif;
    color: #333;
}

/* ============================
   SEARCH BOX
   ============================ */
.search-box {
    background: #f8fff8;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    border: 1px solid #e4ffe4;
    margin-bottom: 30px;
}

.search-box h4 {
    font-weight: 800;
    color: #009431;
    margin-bottom: 15px;
}

.search-box input {
    border-radius: 8px;
    border: 1px solid #cceccc;
}

.search-box button {
    background: linear-gradient(135deg, #00a63d, #007c2d);
    border: none;
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.25s;
}

.search-box button:hover {
    background: linear-gradient(135deg, #009432, #00691f);
    transform: translateY(-2px);
}

/* ============================
   TOUR CARD GRID
   ============================ */
.tour-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
    transition: 0.3s;
    border: 1px solid #e6ffe8;
    position: relative;
}

.tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.tour-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.tour-info {
    padding: 18px;
}

.tour-title {
    font-size: 17px;
    font-weight: 800;
    color: #004d1f;
}

.tour-desc {
    font-size: 14px;
    color: #666;
    height: 55px;
    overflow: hidden;
}

.btn-view {
    background: linear-gradient(135deg, #ffb800, #ff9900);
    font-weight: 700;
    border-radius: 8px;
    padding: 10px;
    color: #fff;
    border: none;
    transition: 0.3s;
    width: 100%;
}

.btn-view:hover {
    background: linear-gradient(135deg, #ffa200, #ff8c00);
    transform: translateY(-2px);
}

/* ================= SIDEBAR RIGHT ================= */
.sidebar-box {
    background: #f8f8f8;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ================= WHY CHOOSE ================= */
.sidebar-box h4 {
    color: #dc3545;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #e5e5e5;
}

.why-list li:last-child {
    border-bottom: none;
}

.why-list li::before {
    content: "";
    width: 18px;
    height: 18px;
    background-image: url("/img/check.png");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ================= SUPPORT 24/7 ================= */
.support-box {
    border: 2px solid #dc3545;
    border-radius: 12px;
    background: #fff;
}

.support-title {
    color: #dc3545;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.support-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 12px;
}

.support-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-phone {
    font-size: 20px;
    font-weight: 700;
    color: #0a6847;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .sidebar-box {
        margin-top: 20px;
    }
}
/* ============================ */
/* BUTTON EDIT */
/* ===== BUTTON OVERLAY ===== */
/* ===== NÚT SỬA / XÓA — TRÒN, GÓC PHẢI ===== */
.edit-btn, .delete-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
}

/* Nút edit nằm bên trái */
.edit-btn {
    transform: translateX(-55px); /* đẩy sang trái để hai nút nằm cạnh nhau */
}

/* Nút delete nằm sát mép phải */
.delete-btn {
    transform: translateX(0);
}

.edit-btn img,
.delete-btn img {
    width: 40px;
    height: 40px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: 0.25s ease;
    cursor: pointer;
    object-fit: contain;
}

.edit-btn img:hover,
.delete-btn img:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,1);
}
