/**
 * Workreap Contact Display - Styles
 * Version 1.2 - Matches Workreap popup styling
 */

/* Contact Display Button - uses existing wr-btn-solid-lg-lefticon class */
.wr-contact-display-btn {
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
}

.wr-contact-display-btn i {
    margin-left: 8px;
}

/* Modal uses existing Workreap classes: wr-addonpopup, wr-popuptitle */

/* Popup Content Container */
.wr-contact-popup-content {
    text-align: center;
    padding: 10px 0;
}

/* Phone Display Section */
.wr-contact-phone-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #f7f7f7;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.wr-contact-phone-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E1E1E;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

/* Copy Button */
.wr-copy-btn {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wr-copy-btn:hover {
    background: #f7f7f7;
    border-color: #ccc;
}

.wr-copy-btn.wr-copied {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}

.wr-copy-btn i {
    font-size: 16px;
    line-height: 1;
}

/* WhatsApp Button - uses wr-btn base class */
.wr-whatsapp-btn {
    width: 100%;
    background-color: #25D366 !important;
    color: #fff !important;
}

.wr-whatsapp-btn:hover {
    background-color: #1da851 !important;
    color: #fff !important;
}

.wr-whatsapp-btn i {
    font-size: 20px;
    margin-left: 10px !important;
}

/* Message Box for Upgrade/Error */
.wr-contact-message-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.wr-contact-message-box i {
    font-size: 48px;
    line-height: 1;
}

.wr-contact-upgrade-content .wr-contact-message-box i {
    color: #ffc107;
}

.wr-contact-error-content .wr-contact-message-box i {
    color: #dc3545;
}

.wr-contact-message-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #353648;
    text-align: center;
}

/* Upgrade/Error Content Buttons */
.wr-contact-upgrade-content .wr-btn,
.wr-contact-error-content .wr-btn {
    width: 100%;
}

/* RTL Support */
/* [dir="rtl"] .wr-contact-display-btn i {
    margin-left: 0;
    margin-right: 8px;
}

[dir="rtl"] .wr-whatsapp-btn i {
    margin-left: 0;
    margin-right: 10px;
} */

/* Responsive */
@media (max-width: 576px) {
    .wr-contact-phone-number {
        font-size: 1.25rem;
    }

    .wr-contact-phone-display {
        padding: 12px 15px;
    }

    .wr-contact-message-box i {
        font-size: 40px;
    }
}