/*
Theme Name: Gtech Logistics
Theme URI: https://gtechlogistics.vn
Author: Duc Pham
Author URI: https://gtechlogistics.vn
Description: Một giao diện trắng hiện đại, chuyên nghiệp dành cho Gtech Logistics, tích hợp Tailwind CSS và SwiperJS.
Version: 1.0.0
Text Domain: gtechlogistics
*/

/* Header Glassmorphism - Unified with template design */
.glass-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

/* Contact Form 7 Custom Styling */
.gtech-form-container {
    width: 100% !important;
}

.gtech-form-container input[type="text"],
.gtech-form-container input[type="email"],
.gtech-form-container input[type="tel"],
.gtech-form-container textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.875rem 1.25rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e2e8f0 !important;
    background-color: rgba(248, 250, 252, 0.5) !important;
    font-weight: 500 !important;
    color: #334155 !important;
    transition: all 0.3s ease !important;
    outline: none !important;
    box-sizing: border-box !important; /* Đảm bảo padding không làm tràn viền */
}

#lang-switcher a
{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.25rem 0.5rem !important;
    line-height: 1 !important;
}

.gtech-form-container input:focus,
.gtech-form-container textarea:focus {
    background-color: #ffffff !important;
    border-color: #f39c12 !important;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.1) !important;
}

/* Quan trọng: Ép thẻ span bọc ngoài của CF7 phải full width */
.gtech-form-container .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

.gtech-form-container textarea {
    min-height: 140px !important;
    resize: none !important;
}

/* Style cho nút bấm */
.gtech-form-container button[type="submit"] {
    cursor: pointer;
}

/* Hide CF7 default loader and response for cleaner UI */
.wpcf7-spinner {
    display: none !important;
}

.wpcf7-response-output {
    margin: 1.5rem 0 0 0 !important;
    padding: 1rem !important;
    border-radius: 0.75rem !important;
    font-size: 0.875rem !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wpcf7-not-valid-tip {
    color: #e74c3c !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    margin-top: 0.35rem !important;
    display: block !important;
}

/* Accordion Transition */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    padding: 0 1.5rem; /* px-6 equivalent */
}

.accordion-item.active .accordion-content {
    max-height: 1000px !important;
    padding-bottom: 24px !important;
}

/* Pagination Styling */
.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.page-numbers .page-numbers {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0; /* border-slate-200 */
    color: #475569; /* text-slate-600 */
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.page-numbers a.page-numbers:hover {
    background-color: #f8fafc;
    color: #F39C12; /* brand-orange */
    border-color: #F39C12;
}

.page-numbers .current {
    background-color: #0d5a9f; /* brand-blue */
    color: white !important;
    border-color: #0d5a9f;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.page-numbers .dots {
    border: none;
    background: transparent;
    cursor: default;
}

.page-numbers .dots:hover {
    background: transparent;
    border: none;
    color: #94a3b8;
}

.page-numbers .prev, .page-numbers .next {
    padding: 0 0.5rem;
}

