/* =========================================
   MODULE 10: TRA CỨU ĐƠN HÀNG (V10 - COMPACT & CLEAN)
   ========================================= */

/* 1. KHUNG CHỨA (COMPACT 380px) */
.u-columns.col2-set {
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.u-column1.col-1 {
    width: 100% !important;
    max-width: 380px !important;
    margin: 40px auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Ẩn thành phần thừa */
.u-column2.col-2 { display: none !important; }
.woocommerce-LostPassword { display: none !important; }
.woocommerce-form-login__rememberme { display: none !important; }
.woocommerce-form-login label { display: none !important; }

/* Ẩn tiêu đề "Đăng nhập" */
#customer_login h2, 
.u-column1 h2,
h2.uppercase.h3, 
.account-login-title { 
    display: none !important; 
}

/* Ẩn ô mật khẩu */
.woocommerce-form-login p.woocommerce-form-row--wide.form-row.form-row-wide:nth-of-type(2),
.woocommerce-form-login p:has(#password),
#password {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    overflow: hidden !important;
}


/* 2. KHUNG THÔNG BÁO */
.sx-login-notice {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}
.sx-notice-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333;
    margin: 0 0 8px 0 !important;
}
.sx-notice-desc {
    font-size: 13px !important;
    color: #666;
    margin: 0 !important;
    line-height: 1.4;
}


/* 3. Ô NHẬP SỐ ĐIỆN THOẠI */
.woocommerce-form-login p.form-row { margin-bottom: 0 !important; }

.woocommerce-form-login input.input-text {
    width: 100% !important;
    padding: 0 15px !important;
    height: 50px !important; 
    font-size: 16px !important;
    font-weight: 600 !important;
    border: 1px solid #ddd !important;
    border-radius: 25px !important;
    background: #fff !important;
    text-align: center !important;
    color: #333 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03) !important;
}

.woocommerce-form-login input.input-text::placeholder {
    color: #999 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
}


/* 4. NÚT TRA CỨU (MÀU HỒNG) */
button.woocommerce-form-login__submit {
    width: 100% !important;
    background-color: #ff3366 !important;
    color: #fff !important;
    border-radius: 25px !important;
    height: 50px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border: none !important;
    text-transform: uppercase !important;
    margin-top: 15px !important;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 51, 102, 0.3);
    transition: transform 0.2s;
}
button.woocommerce-form-login__submit:hover {
    background-color: #e02d5a !important;
    transform: translateY(-2px);
}
/* Style cho nút hành động duy nhất (Nút XEM) */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button {
    background-color: #ff3366 !important; /* Màu hồng */
    color: #ffffff !important;
    border-radius: 99px !important;
    padding: 6px 20px !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: none !important;
    
    /* Căn giữa */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    box-shadow: 0 4px 10px rgba(255, 51, 102, 0.2);
    transition: all 0.3s ease;
    min-width: 80px; /* Đảm bảo độ rộng tối thiểu */
}

/* Hiệu ứng hover */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button:hover {
    background-color: #e02d5a !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 51, 102, 0.4);
    color: #fff !important;
}

/* Mũi tên icon */
.woocommerce-account .woocommerce-orders-table__cell-order-actions .button::after {
    content: "›";
    font-family: sans-serif;
    margin-left: 5px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    position: relative;
    top: -1px;
}