*{
margin: 0;
padding: 0;
box-sizing: border-box;
}



body {
font-family: 'Segoe UI', Arial, sans-serif; 
line-height: 1.6;
color: #333;
background-color: #f0f2f5;}



.wrapper {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px; 
}

a {
text-decoration: none;
color: inherit; 
}

ul {
list-style: none;
}
.main-header {
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
background-color:#003366; 
color: #fff;
padding: 8px 0;
font-size: 0.85em;
border-bottom: 1px solid #003a72;
}

.header-top .wrapper {
display: flex;
justify-content: space-between;
align-items: center;
}

.member-of a {
color: #fff;
font-weight: bold;
display: inline-flex;
align-items: center;
font-family:Arial, Helvetica, sans-serif;
font-size: 10px;
gap: 5px;
}

.member-of img {
height: 50px;
width: 75px;
vertical-align: middle;
border-radius: 50%; }
.social-icons a {
color: #fff;
margin-left: 13px;
font-size: 1.1em;
transition: color 0.3s ease;
}

.social-icons a:hover {
color: #e0e0e0;
}

.header-bottom {
padding: 15px 0;
background-color: #fff;
}
.main-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f7f6;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    padding: 60px 5%;
    text-align: center;
}

h1, h2 {
    color: #007
}
:root {
    --primary-blue: #007bff; /* Màu chủ đạo: Xanh */
    --secondary-orange: #ff9900; /* Màu nhấn: Cam */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s;
}

/* HEADER */
.header {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    font-weight: bold;
     color:#003366 ;
    font-family: 'Times New Roman', Times, serif;
}

.logo img {
    height: 30px; /* Điều chỉnh kích thước logo */
    margin-right: 10px;
}

.top-nav a {
    color: #6c757d;
    margin-left: 20px;
    padding: 5px 0;
    font-size: 0.9em;
}

.top-nav a.active, .top-nav a:hover {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

:root {
    --primary-blue: #007bff; /* Xanh Chủ Đạo */
    --secondary-orange: #ff9900; /* Màu nhấn Cam */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s;
}

/* ==================================== */
/* HEADER CỐ ĐỊNH                      */
/* ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.3em;
    font-weight: 800;
    color: var(--primary-blue);
}

.logo i {
    margin-right: 10px;
    color: var(--secondary-orange);
}

.top-nav a {
    color: #6c757d;
    margin-left: 25px;
    padding: 5px 0;
    font-weight: 500;
}

.top-nav a.active, .top-nav a:hover {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}
:root {
    --primary-color: #007bff; /* Xanh dương hiện đại */
    --accent-color: #dc3545; /* Đỏ cho hành động hủy */
    --text-dark: #3c4043;
    --bg-light: #f7f9fc;
    --card-bg: #ffffff;
    --shadow-light: 0 6px 20px rgba(0, 0, 0, 0.08);
    --border-color: #e0e0e0;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: 40px auto;
}

h2 {
    color:#002D62;
    text-align: center;
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hướng dẫn luồng hủy */
.cancellation-flow-guide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.flow-step {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s;
}

.flow-step:hover {
    transform: translateY(-5px);
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 0 5px;
}

/* CSS GRID cho Bố cục Chính (Desktop) */
.content-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 2fr; /* Chính sách (1/3), Form (2/3) */
    grid-template-areas: 
        "policy form"
        "tracking tracking";
}

/* Thẻ (Card) chung */
.card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.policy-card {
    grid-area: policy;
    border-left: 6px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    max-height: 750px;
}

.form-card {
    grid-area: form;
}

.tracking-card {
    grid-area: tracking;
    background-color: #e8f0fe;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 6px solid var(--primary-color);
}

/* Tiêu đề thẻ */
.card h2 {
    color: var(--primary-color);
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(0, 123, 255, 0.1);
    padding-bottom: 10px;
}

/* Cảnh báo và List */
.alert-box.warning {
    background-color: #fff8e1;
    color: #a06e00;
    border-left: 5px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-box.warning i {
    color: #ffc107;
    font-size: 1.3em;
    margin-top: 2px;
}

.policy-list {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.policy-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-list li i {
    color: var(--primary-color);
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 25px auto 0 auto;
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

input[type="text"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-top: 25px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-light);
}

/* Nút Gửi */
.btn-submit {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 6px 15px rgba(220, 53, 69, 0.4);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.5);
}

/* Tracking Section */
.tracking-input {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin-top: 25px;
}

.tracking-input input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
}

.btn-track {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}   
:root {
    --header-blue: #002D62; /* Màu xanh đậm từ header của bạn */
    --primary-color: #007bff; /* Xanh dương hiện đại cho các điểm nhấn */
    --accent-color: #dc3545; /* Đỏ cho hành động hủy */
    --text-dark: #3c4043;
    --text-light: #70757a;
    --bg-light: #f7f9fc; /* Nền rất nhẹ, hơi xanh */
    --card-bg: #ffffff;
    --shadow-light: 0 6px 20px rgba(0, 0, 0, 0.08);
    --border-color: #e0e0e0;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 95%;
    max-width: 1200px; /* Phù hợp với chiều rộng header */
    margin: 40px auto;
}

/* --- HEADER STYLES (Dựa trên hình ảnh bạn cung cấp) --- */
.top-bar {
    background-color: var(--header-blue);
    color: white;
    padding: 8px 0;
    font-size: 0.85em;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.member-text {
    margin-right: 5px;
}

/* Định dạng cho placeholder ISC */
.logo-placeholder { 
    font-weight: 700;
    font-style: italic;
    font-size: 1.1em;
    padding-left: 5px;
    color: #ffc107; /* Màu vàng nổi bật */
}

/* Định dạng cho social icons (Font Awesome) */
.social-icons a {
    margin-left: 10px;
    color: white;
    font-size: 1.1em;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color); /* Đổi màu khi hover */
}

.main-header {
    background-color: var(--card-bg); /* Nền trắng */
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.main-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.site-title {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--header-blue);
    letter-spacing: 0.5px;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 25px;
    padding: 8px 0;
    transition: color 0.3s, border-bottom 0.3s;
    font-weight: 600;
    position: relative; /* Dùng cho gạch chân active */
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

/* --- MAIN CONTENT STYLES --- */
h1 {
    color: var(--accent-color);
    text-align: center;
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hướng dẫn quy trình */
.cancellation-flow-guide {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.flow-step {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1em;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transition: transform 0.3s;
}

.flow-step:hover {
    transform: translateY(-5px);
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 0 5px;
}

/* CSS Grid cho bố cục chính */
.content-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 2fr; /* Chính sách (1/3), Form (2/3) */
    grid-template-areas: 
        "policy form"
        "tracking tracking"; /* Tracking nằm full width dưới cùng */
}

/* Thẻ (Card) chung */
.card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.policy-card {
    grid-area: policy;
    border-left: 6px solid var(--primary-color);
    display: flex;
    flex-direction: column; /* Để nút "Xem Chi Tiết" xuống dưới */
}

.form-card {
    grid-area: form;
}

.tracking-card {
    grid-area: tracking;
    background-color: #e8f0fe; /* Nền xanh nhạt cho tracking */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-bottom: 6px solid var(--primary-color);
}

/* Tiêu đề thẻ */
.card h2 {
    color: var(--primary-color);
    font-size: 1.6em;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(0, 123, 255, 0.1);
    padding-bottom: 10px;
}

/* Cảnh báo và List */
.alert-box.warning {
    background-color: #fff8e1;
    color: #a06e00;
    border-left: 5px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.alert-box.warning i {
    color: #ffc107;
    font-size: 1.3em;
    margin-top: 2px;
}

.policy-list {
    list-style: none;
    padding: 0;
    flex-grow: 1; /* Đẩy nút "Xem chi tiết" xuống dưới cùng */
}

.policy-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li i {
    color: var(--primary-color);
}

.btn-detail {
    display: inline-flex; /* Dùng flex để căn giữa icon */
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 25px auto 0 auto; /* Căn giữa nút */
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-detail:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

input[type="text"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
}

.form-text.text-muted {
    font-size: 0.85em;
    color: var(--text-light);
    margin-top: 5px;
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-top: 25px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-light);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    margin-right: 15px;
    transform: scale(1.2);
    cursor: pointer;
}

.checkbox-group label {
    font-weight: 400;
    display: inline;
    line-height: 1.4;
    cursor: pointer;
}

/* Nút Gửi */
.btn-submit {
    background-color: var(--accent-color);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    width: 100%;
    margin-top: 30px;
    box-shadow: 0 6px 15px rgba(220, 53, 69, 0.4);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    background-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.5);
}

/* Tracking Section */
.tracking-input {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    margin-top: 25px;
}

.tracking-input input {
    flex-grow: 1;
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
}

.btn-track {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-track:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}


.simple-footer {
background-color: #003366; 
color: #fff; 
padding: 30px 0; 
margin-top: 40px; 
font-size: 0.9em; 
}

.footer-content-simple {
display: flex;
align-items: center; 
gap: 30px; 
flex-wrap: wrap; }

.footer-logo-simple img {
height: 100px; 
width: auto; 
object-fit: contain;
}

.footer-info-simple {
flex: 1; 
line-height: 1.8; 
text-align: left;
        color:#ffffff;
}

.footer-info-simple p {
margin-bottom: 5px; }

.footer-info-simple p:last-child {
margin-bottom: 0;
}

.footer-info-simple a {
color: #fff; 
text-decoration: underline; 
}

.footer-info-simple a:hover {
color: #cccccc; }

.footer-org-name {
font-weight: bold;
font-size: 1.1em;
margin-bottom: 10px; 
}

@media (max-width: 768px) {
.footer-content-simple {
    flex-direction: column; 
    text-align: center; 
    align-items: center; 
}
.footer-logo-simple {
    margin-bottom: 20px; 
}
.footer-info-simple p {
    margin-bottom: 8px; 
}
}

@media (max-width: 480px) {
.simple-footer {
    padding: 20px 0;
}
.footer-logo-simple img {
    height: 80px; 
}
.footer-info-simple {
    font-size: 0.85em;
}
.footer-org-name {
    font-size: 1em;
}
}


@media (max-width: 992px) {
.footer-content {
    flex-direction: column; 
    align-items: flex-start; 
}
.footer-column {
    min-width: unset; 
    width: 100%; 
    max-width: 100%; 
    margin-bottom: 20px;
}
.footer-column:last-child {
    margin-bottom: 0;
}
}

@media (max-width: 576px) {
.main-footer {
    padding-top: 20px;
}
.footer-column h3 {
    font-size: 1.1em;
    text-align: center; 
}
.footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
}
.footer-column p, .footer-contact ul li {
    text-align: center; 
    justify-content: center; 
}
.footer-contact ul li i {
    margin-right: 0; 
}
}

.slideshow-container {
  position: relative;
  max-width: 600px;
  margin: auto;
}

.slide {
  display: none;
  margin-bottom: 20px;

}

img {
  width: 100%;
  height: auto;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
.floating-icons {
  position: fixed;
  top: 40%;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-icons .icon {
  width: 48px;
  height: 48px;
  background-color: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.floating-icons .icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.floating-icons .icon:hover {
  transform: scale(1.1);
  cursor: pointer;
}
.simple-footer {
    background-color: #0f4077; /* Màu nền xanh đậm như ảnh mẫu */
    color: white;
    padding: 30px 5%;
}

.footer-content-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Bật Flexbox */
    gap: 40px; /* Khoảng cách giữa 2 cột */
    align-items: flex-start; /* Nội dung bắt đầu từ trên */
}

/* 1. CỘT THÔNG TIN (TRÁI) */
.footer-info-wrapper {
    flex: 2; /* Chiếm khoảng 40% chiều rộng */
}

.footer-logo-simple {
    margin-bottom: 20px;
    /* Giả sử logo là phần tử có kích thước nhất định */
}
.footer-logo-simple img {
    height: 80px;
    display: block;
}

.footer-info-simple p {
    margin: 5px 0;
    font-size: 0.9em;
}

.footer-info-simple a {
    color: #ffcc00; /* Màu vàng nhấn cho liên kết */
    text-decoration: none;
}

/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */

/* Điều chỉnh Header trên màn hình vừa và nhỏ */
@media (max-width: 992px) {
    .main-header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
    }
    .main-nav {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 10px;
    }
    .main-nav a {
        margin: 0 8px;
        padding: 6px 10px;
    }
}

/* Điều chỉnh Bố cục chính (Grid) trên máy tính bảng và các màn hình nhỏ hơn */
@media (max-width: 1024px) {
    .container {
        margin: 30px auto;
    }
    
    .content-grid {
        grid-template-columns: 1fr; /* Chuyển sang bố cục 1 cột */
        grid-template-areas: 
            "policy"
            "form"
            "tracking";
        gap: 25px;
    }
    
    h1 {
        font-size: 2.2em;
        margin-bottom: 30px;
    }

    .cancellation-flow-guide {
        flex-direction: column; /* Hướng dẫn xếp dọc */
        gap: 10px;
    }
    .flow-arrow {
        transform: rotate(90deg); /* Xoay mũi tên khi xếp dọc */
        margin: 10px 0;
    }
}

/* Điều chỉnh tổng thể trên điện thoại di động */
@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
    }
    .social-icons {
        margin-top: 5px;
    }
    h1 {
        font-size: 2em;
        margin-bottom: 25px;
    }
    .card {
        padding: 20px;
    }
    .card h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    .alert-box.warning {
        padding: 10px;
        font-size: 0.9em;
    }
    .alert-box.warning i {
        font-size: 1.1em;
    }
    .form-group label {
        font-size: 0.95em;
    }
    input[type="text"],
    input[type="date"],
    select,
    textarea {
        padding: 10px;
        font-size: 14px;
    }
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        font-size: 0.9em;
    }
    .checkbox-group input[type="checkbox"] {
        margin-bottom: 10px;
    }
    .btn-submit {
        font-size: 1em;
        padding: 12px 15px;
    }
    .tracking-input {
        flex-direction: column;
        gap: 15px;
    }
    .tracking-input input,
    .tracking-input .btn-track {
        width: 100%;
    }
    .footer-content {
        gap: 10px;
    }
    .footer-social-icons {
        font-size: 1.2em;
    }
}

/* Điều chỉnh nhỏ hơn cho điện thoại cực nhỏ */
@media (max-width: 480px) {
    .container {
        margin: 15px auto;
        padding: 0 10px;
    }
    h1 {
        font-size: 1.6em;
        margin-bottom: 20px;
    }
    .flow-step {
        padding: 8px 12px;
        font-size: 0.9em;
        gap: 5px;
    }
    .site-title {
        font-size: 1.4em;
    }
    .main-nav a {
        font-size: 0.9em;
        margin: 0 5px;
    }
}
.main-content-area {
    position: relative;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.9); /* Lớp phủ đen */
    min-height: 100vh;
}

.left-content-mock {
    position: absolute;
    top: 50px; /* Điều chỉnh vị trí tương đối */
    left: 5%;
    color: #d1d1d1;
    font-size: 1.2em;
    font-weight: 300;
}

/* CONTAINER CHÍNH CỦA CÁC NÚT - Cố định vị trí */
.action-buttons-container {
    position: fixed; /* Rất quan trọng: Giữ cố định khi cuộn */
    bottom: 30px; 
    right: 30px; 
    display: flex;
    flex-direction: column-reverse; /* Đảo ngược để nút đóng nằm dưới */
    align-items: flex-end; 
    gap: 15px; /* Khoảng cách giữa các mục */
    z-index: 1000; 
}

/* Định kiểu cho mỗi mục nút và nhãn */
.action-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    /* Loại bỏ khoảng cách margin-bottom nếu sử dụng gap trên container */
}

/* Nhãn văn bản */
.text-label {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Định kiểu chung cho các biểu tượng nút tròn */
.icon-button {
    width: 60px; /* Kích thước lớn hơn để khớp với hình ảnh */
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.6em; 
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
}

.icon-button:hover {
    transform: scale(1.05);
}

/* Màu sắc và biểu tượng cụ thể */
.location-item .red-light {
    background-color: #e54c4c; /* Đỏ/Đỏ nhạt */
}

.call-item .yellow-call {
    background-color: #ffc107; /* Vàng */
    color: #333; /* Chữ màu tối hơn trên nền vàng */
    font-size: 2em;
}

.facebook-item .green-fb {
    background-color: #18b33b; /* Xanh lá Facebook (tương tự hình ảnh) */
    font-size: 2.5em;
    line-height: 0.8;
}

.zalo-item .blue-zalo {
    background-color: #0088ff; /* Xanh Zalo */
    font-size: 1em;
    padding-top: 5px;
}

/* Nút Đóng/Hủy (Luôn nằm dưới cùng) */
.action-close-button {
    /* Đặt riêng để nó nằm phía dưới các nút hành động (nhờ flex-direction: column-reverse) */
    align-self: flex-end; 
    margin-top: 5px; /* Thêm chút khoảng cách với nút Zalo */
}

.action-close-button .red-close {
    background-color: #e53935; /* Màu đỏ đậm */
    font-size: 3em;
    line-height: 0.8;
    width: 65px; 
    height: 65px;
}


/* --- MEDIA QUERY CHO ĐỊNH DẠNG ĐÁP ỨNG (Mobile) --- */
@media (max-width: 600px) {
    
    /* Điều chỉnh vị trí container trên điện thoại */
    .action-buttons-container {
        bottom: 15px; 
        right: 15px; 
        gap: 10px;
    }

    /* Giảm kích thước nút */
    .icon-button {
        width: 50px;
        height: 50px;
        font-size: 1.4em;
    }

    .call-item .yellow-call {
        font-size: 1.8em;
    }
    
    .facebook-item .green-fb {
        font-size: 2.2em;
    }
    
    .action-close-button .red-close {
        width: 55px; 
        height: 55px;
        font-size: 2.5em;
    }
    
    /* Giảm kích thước nhãn */
    .text-label {
        padding: 6px 10px;
        font-size: 0.9em;
        margin-right: 10px;
    }
}