/* ==========================================================================
   Floating Contact Popup (100% Fixed Blocking Issue)
   ========================================================================== */

.floating-contact-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

/* ប្រអប់ Popup ធំពីក្រៅ */
.chat-popup {
    display: none; /* ដំណោះស្រាយដាច់ស្រឡះ៖ លាក់ចេញពីអេក្រង់ទាំងស្រុង */
    position: absolute;
    bottom: 80px; /* រុញឲ្យផុតពីប៊ូតុងពណ៌លឿង */
    right: 0;
    background: #ffffff;
    width: 330px; 
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 13px 20px;
    border: 1px solid #f0f0f0;
    
    /* Animation បង្ហាញ/លាក់ */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.chat-popup.show {
    opacity: 1;
    transform: translateY(0);
}

/* កន្ទុយព្រួញចង្អុលចុះក្រោម */
.chat-popup::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px; 
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    display: block;
    width: 0;
}

/* ប៊ូតុងខ្វែង (Close X) */
.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-popup:hover {
    color: #333;
}

.chat-popup h3 {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 15px;
    font-weight: 700;
    padding-left: 5px;
}

/* =================== ប្រអប់ Border ថ្មី (Border Box) =================== */
.popup-bordered-box {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 10px 15px;
    background-color: #fafafa; 
}

/* ប៊ូតុងបណ្តាញសង្គម ខាងក្នុង Box */
.social-row {
    display: flex;
    justify-content: center; 
    gap: 12px;
    /* margin-bottom: 20px;
    padding-bottom: 20px; */
    /* border-bottom: 1px dashed #ccc;  */
}

.social-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.3rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.social-circle:hover {
    transform: translateY(-5px) scale(1.15); 
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

.fb-msg { background-color: #0084FF; }
.line { background-color: #00C300; }
.telegram { background-color: #0088cc; }
.wechat { background-color: #07C160; }

/* ទម្រង់បំពេញព័ត៌មាន (Form) */
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-form input,
.popup-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    background-color: #fff;
    font-family: 'Kantumruy Pro', sans-serif;
}

.popup-form input:focus,
.popup-form textarea:focus {
    border-color: #cba764;
}

.popup-form textarea {
    resize: none;
}

/* Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    margin-bottom: 5px;
    margin-top: 5px;
}

.checkbox-container input {
    width: auto;
    margin: 0;
    accent-color: #cba764;
}

/* ប៊ូតុង Send */
.submit-btn {
    background-color: #cba764; 
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #b59250;
}

/* Main Floating Button (ពណ៌លឿង) */
.main-fab { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    background-color: #fbbc05; 
    color: white; 
    font-size: 1.8rem; 
    border: none; 
    cursor: pointer; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    transition: transform 0.3s; 
}

.main-fab i { 
    transition: transform 0.3s; 
}

.main-fab.active i { 
    transform: rotate(45deg); 
}

/* Responsive */
@media (max-width: 768px) {
    .floating-contact-container {
        bottom: 20px;
        right: 20px;
    }
    .chat-popup {
        width: 300px;
        padding: 20px 15px;
    }
}
/*mail contatact*/
 .getcodeusa {
            display: none !important;
            visibility: hidden;
            position: absolute;
            top: -9999px;
            left: -9999px;
        }