/* ===== RESET & NỀN ===== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #0d1117;
    color: #c9d1d9;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

/* ===== HEADER ===== */
header {
    background: linear-gradient(90deg, #161b22, #238636);
    color: white;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: 24px;
    color: #f0f6fc;
}

/* ===== KHUNG TÌM KIẾM ===== */
.search-section {
    background: #161b22;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
    margin-bottom: 20px;
    position: relative;
    z-index: 2000;
}

.search-section label {
    font-weight: bold;
    margin-right: 10px;
    color: #f0f6fc;
    color-scheme: dark;
}

.search-section select {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #30363d;
    border-radius: 8px;
    background: #0d1117;
    color-scheme: dark;
    color: #c9d1d9;
    width: 95%;
    max-width: 450px;
    margin-bottom: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.search-section select option {
    background: #0d1117;
    color: #c9d1d9;
    color-scheme: dark;
}

.search-input-wrapper {
    position: relative;
    max-width: 550px;
    width: 95%;
}

.search-section input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #30363d;
    border-radius: 8px;
    background: #0d1117;
    color: #c9d1d9;
    width: 95%;
    margin-bottom: 15px;
}

.search-section input::placeholder {
    color: #8b949e;
}

/* ===== GỢI Ý TỰ ĐỘNG ===== */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    z-index: 3000;
    display: none;
}

.suggestions li {
    padding: 10px;
    color: #c9d1d9;
    cursor: pointer;
    border-bottom: 1px solid #30363d;
    z-index: 3000;
}

.suggestions li:last-child {
    border-bottom: none;
    z-index: 3000;
}

.suggestions li:hover {
    background: #1f3a5f;
    z-index: 3000;
}

.suggestions li.selected {
    background: #1f3a5f;
    z-index: 3000;
}

/* ===== NÚT BẤM ===== */
.search-section button {
    background: #238636;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.search-section button:hover {
    background: #2ea043;
}

/* ===== KHUNG KẾT QUẢ ===== */
.result-section {
    background: #161b22;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1000;
}

.result-section table {
    width: 100%;
    border-collapse: collapse;
}

.result-section th,
.result-section td {
    padding: 12px;
    border: 1px solid #30363d;
    text-align: left;
}

.result-section th {
    background: #238636;
    color: white;
}

.result-section td {
    color: #c9d1d9;
}

.result-section a {
    color: #58a6ff;
    text-decoration: none;
}

.result-section a:hover {
    color: #79c0ff;
}

/* ===== HIGHLIGHT DÒNG NGÂN HÀNG ĐÃ DỪNG HOẠT ĐỘNG ===== */
.highlight-next-name td {
    color: #000000;
}

/* ===== ICON APP STORE & GOOGLE PLAY ===== */
.app-icons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.app-icon {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

.app-icon.app-store::before {
    background-size: contain;
}

.app-icon.google-play::before {
    background-size: contain;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    header h1 {
        font-size: 20px;
    }
    .search-section select,
    .search-input-wrapper {
        max-width: 100%;
    }
    .search-section button {
        width: 100%;
    }
    .result-section th,
    .result-section td {
        padding: 8px;
        font-size: 14px;
    }
}