/*=====================================
  Right Float Menu Styles
======================================*/
.right-float-menu {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.right-float-menu .menu-item {
    display: block;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.right-float-menu .menu-item:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.right-float-menu .menu-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Specific colors/styles for items if needed */
.right-float-menu .tiktok {
    background-color: #000;
}

.right-float-menu .whatsapp {
    background-color: #25D366;
}

.right-float-menu .wechat {
    background-color: #07C160;
}

.right-float-menu .skype {
    background-color: #00AFF0;
}

.right-float-menu .email {
    background-color: #EA4335;
}

/* QR Code and Email Popup Styles */
.qr-code-popup, .email-popup {
    min-width: 125px;

    position: absolute;
    right: 60px; /* Adjust as needed to position next to the icon */
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    z-index: 1001;
    white-space: nowrap;
}

.qr-code-popup img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.email-popup .email-address {
    font-size: 14px;
    color: #333;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content .input-1, .modal-content .textarea-1 {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.modal-content .textarea-1 {
    min-height: 100px;
    resize: vertical;
}

.modal-content .button-default {
    background-color: #1226aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

.modal-content .button-default:hover {
    background-color: #0e1e8a;
}

/* Custom Alert Styles */
.custom-alert {
    display: none; /* Hidden by default */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    text-align: center;
    font-size: 18px;
    opacity: 0; /* For fade in/out effect */
    transition: opacity 0.3s ease-in-out;
}

.custom-alert.show {
    opacity: 1;
}

.custom-alert.success {
    background-color: #28a745; /* Green for success */
}

.custom-alert.error {
    background-color: #dc3545; /* Red for error */
}

.custom-alert-message {
    display: block;
} 