﻿/*.meshit-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.meshit-modal-content {
    background: #fff;
    width: 420px;
    padding: 24px;
    border-radius: 8px;
    position: relative;
    font-family: Arial, sans-serif;
}

    .meshit-modal-content.center {
        text-align: center;
    }

.close {
    position: absolute;
    right: 14px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

.info-box {
    background: #fff7e6;
    padding: 10px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 13px;
}

.checkbox {
    display: block;
    margin: 15px 0;
}

.btn-primary {
    width: 100%;
    background: #0b5cff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

    .btn-primary:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.error-icon {
    font-size: 40px;
    color: red;
    margin-bottom: 10px;
}

.ms-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
}

.ms-modal {
    background: #fff;
    width: 480px;
    border-radius: 8px;
    padding: 24px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.ms-close {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 20px;
    cursor: pointer;
}

.ms-illustration {
    text-align: center;
    margin-bottom: 10px;
}

.ms-title {
    text-align: center;
    margin: 10px 0;
    font-size: 20px;
}

.ms-desc {
    text-align: center;
    color: #555;
    font-size: 14px;
}

.ms-prereq {
    background: #fff6e5;
    border: 1px solid #ffe0a3;
    padding: 14px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 13px;
}

    .ms-prereq h4 {
        margin: 0 0 8px;
        color: #d9822b;
    }

    .ms-prereq ul {
        padding-left: 18px;
        margin: 0;
    }

    .ms-prereq li {
        margin-bottom: 8px;
    }

.ms-terms {
    margin-top: 15px;
    font-size: 13px;
}

    .ms-terms a {
        color: #1a73e8;
        text-decoration: none;
    }

.ms-btn {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #2d8cff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
}

    .ms-btn:hover {
        background: #1b6fe0;
    }*/

/*.chat-container {
    width: 400px;
    border: 1px solid #ddd;
    margin: 20px auto;
    background: #e5ddd5;
}

.messages {
    padding: 10px;
    height: 400px;
    overflow-y: auto;
}

.message {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.sent {
    background: #dcf8c6;
    margin-left: auto;
    text-align: right;
}

.received {
    background: #fff;
    margin-right: auto;
}

.send-box {
    display: flex;
    gap: 5px;
    padding: 10px;
    background: #f0f0f0;
}

    .send-box input {
        flex: 1;
    }*/

.wa-chat-wrapper {
    width: 420px;
    height: 650px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background: #efeae2;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    font-family: "Segoe UI", sans-serif;
}

/* Header */
.wa-chat-header {
    background: #075e54;
    color: #fff;
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.name {
    font-size: 14px;
    font-weight: 600;
}

.status {
    font-size: 11px;
    opacity: 0.8;
}

/* Body */
.wa-chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #efeae2;
}

/* Message Row */
.wa-msg {
    display: flex;
    margin-bottom: 10px;
}

    .wa-msg.sent {
        justify-content: flex-end;
    }

    .wa-msg.received {
        justify-content: flex-start;
    }

/* Bubble */
.bubble {
    max-width: 75%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    position: relative;
}

.sent .bubble {
    background: #dcf8c6;
}

.received .bubble {
    background: #ffffff;
}

/* Time */
.time {
    font-size: 10px;
    color: #666;
    float: right;
    margin-left: 10px;
}

/* Footer */
.wa-chat-footer {
    display: flex;
    gap: 5px;
    padding: 10px;
    background: #f0f0f0;
}

    .wa-chat-footer input {
        flex: 1;
        padding: 8px;
        border-radius: 20px;
        border: 1px solid #ccc;
        outline: none;
    }

.msg-type {
    border-radius: 20px;
    padding: 5px;
}

.wa-chat-footer button {
    background: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    font-size: 16px;
}


.page-header {
    margin: 20px 30px;
}

    .page-header h2 {
        margin: 0;
        font-size: 22px;
    }

    .page-header p {
        color: #666;
        font-size: 14px;
        margin-top: 5px;
    }

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 30px;
}

/* Contact Card */
.contact-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

    .contact-card:hover {
        transform: translateY(-3px);
    }

/* Avatar */
.contact-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info */
.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 15px;
}

.contact-phone {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
}

/* Badge */
.optin-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 12px;
    background: #e6f7ee;
    color: #1b8f4b;
}

/* Chat Button */
.chat-btn {
    background: #075e54;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

    .chat-btn:hover {
        background: #064c45;
    }
.page-header {
    margin: 20px 30px;
}

    .page-header h2 {
        margin: 0;
        font-size: 22px;
    }

    .page-header p {
        color: #666;
        font-size: 14px;
        margin-top: 5px;
    }

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 30px;
}

/* Contact Card */
.contact-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

    .contact-card:hover {
        transform: translateY(-3px);
    }

/* Avatar */
.contact-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info */
.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 15px;
}

.contact-phone {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
}

/* Badge */
.optin-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 12px;
    background: #e6f7ee;
    color: #1b8f4b;
}

/* Chat Button */
.chat-btn {
    background: #075e54;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

    .chat-btn:hover {
        background: #064c45;
    }

.page-header {
    margin: 20px 30px;
}

    .page-header h2 {
        margin: 0;
        font-size: 22px;
    }

    .page-header p {
        color: #666;
        font-size: 14px;
        margin-top: 5px;
    }

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 30px;
}

/* Contact Card */
.contact-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

    .contact-card:hover {
        transform: translateY(-3px);
    }

/* Avatar */
.contact-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info */
.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    font-size: 15px;
}

.contact-phone {
    font-size: 13px;
    color: #555;
    margin-top: 3px;
}

/* Badge */
.optin-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 12px;
    background: #e6f7ee;
    color: #1b8f4b;
}

/* Chat Button */
.chat-btn {
    background: #075e54;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

    .chat-btn:hover {
        background: #064c45;
    }
