/* =========================================
   GIAO DIỆN TRANG LIÊN HỆ
   ========================================= */

/* Chia bố cục 2 cột cho màn hình lớn (PC/Tablet) */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 cột bằng nhau */
    gap: 40px;
    align-items: start;
    padding-top: 40px;
}

/* Cột trái: Thông tin */
.contact-info {
    padding-top: 16px;
}

.contact-info h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--on-surface);
}

.info-text p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* Cột phải: Khung Form */
.contact-form-container {
    padding: 32px;
}

.form-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--divider);
    padding-bottom: 16px;
}

/* Tùy chỉnh thêm cho Select & Textarea Material */
.select-arrow {
    position: absolute;
    right: 12px;
    top: 20px;
    color: var(--text-secondary);
    pointer-events: none;
}

select.material-input {
    appearance: none; /* Ẩn mũi tên mặc định của trình duyệt */
    -webkit-appearance: none;
}

select.material-input option {
    background-color: var(--surface);
    color: var(--on-surface);
}

/* Class trạng thái */
.success-state {
    padding: 24px 0;
}
.text-center { text-align: center; }
.mr-8 { margin-right: 8px; }

/* Responsive cho điện thoại: Chuyển thành 1 cột */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 24px;
    }
    
    /* Đưa thông tin liên hệ xuống dưới form trên Mobile (Tùy chọn) */
    .contact-info {
        order: 2;
    }
    .contact-form-container {
        order: 1;
        padding: 24px 16px;
    }
}