/* ─────────────────────────────────────────────────────────────────────────────
   CSS trang /gop-y — tách khỏi 1 khối <style> inline trong
   user/form_gopy.php (2026-08-03), giữ đúng thứ tự DOM cũ.
   Bọc :where(body.dlv-page-…) để chỉ áp đúng trang này; :where() không cộng
   specificity nên tương quan thắng/thua giữa các rule giữ nguyên như lúc inline.
   
   ───────────────────────────────────────────────────────────────────────────── */

@media all and (max-width: 480px){
    :where(body.dlv-page-gop-y) .table-responsive1{
        font-size: 12px;
    }
    :where(body.dlv-page-gop-y) .table-responsive1>table>tbody>tr>td, :where(body.dlv-page-gop-y) .table-responsive1>table>tbody>tr>th, :where(body.dlv-page-gop-y) .table-responsive1>table>thead>tr>td, :where(body.dlv-page-gop-y) .table-responsive1>table>thead>tr>th{ padding: 2px; }
}
@media all and (max-width: 767px) {
    #content_gopy input.form-control,
    #content_gopy textarea.form-control {
        font-size: 16px !important; /* Ngăn iOS Safari tự zoom khi bấm vào ô nhập */
        height: auto;
        padding: 10px 12px;
        position: relative;
        z-index: 10;
        touch-action: manipulation;
    }
    #content_gopy .myCheckbox {
        font-size: 14px;
    }
    #content_gopy .myCheckbox input[type="checkbox"],
    #content_gopy input[type="radio"] {
        width: 18px;
        height: 18px;
        vertical-align: middle;
        margin-right: 6px;
    }
}
@media all and (max-width: 350px){
    :where(body.dlv-page-gop-y) .table-responsive1{
        font-size: 11px;
    }
}

/* ── Giao diện kết quả sau khi gửi Phiếu góp ý ── */
.gopy-success-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 720px;
    margin: 20px auto;
    border: 1px solid #eef2f6;
}
.gopy-success-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    color: #10b981;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 16px;
}
.gopy-success-title {
    font-size: 22px;
    font-weight: 700;
    color: #ed007f;
    margin-bottom: 10px;
    line-height: 1.4;
}
.gopy-success-desc {
    font-size: 15px;
    color: #4b5563;
    margin-bottom: 24px;
    line-height: 1.6;
}
.gopy-voucher-card {
    background: linear-gradient(135deg, #fffcf5 0%, #fff7ed 100%);
    border: 2px dashed #f59e0b;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}
.gopy-voucher-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}
.gopy-voucher-img:hover {
    transform: scale(1.02);
}
.gopy-brand-pink {
    color: #ed007f;
    font-weight: 700;
}
.gopy-text-download-link {
    color: #ed007f !important;
    font-weight: 600;
    text-decoration: underline !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    transition: color 0.2s ease;
}
.gopy-text-download-link:hover {
    color: #c01f7d !important;
    text-decoration: underline !important;
}

.gopy-btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ed007f;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(237, 0, 127, 0.35);
    transition: all 0.25s ease;
    border: none;
}
.gopy-btn-download:hover {
    background: #c01f7d;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(237, 0, 127, 0.45);
    color: #ffffff !important;
}
