/* Trigger Button Styling (Send Invites) */
.smb-trigger-btn-9266134c {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: transparent !important;
    background-color: transparent !important; /* Force no background */
    color: #F8002F !important; /* Red text */
    font-weight: bold !important;
    text-decoration: none !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    font-size: inherit !important; /* Inherit theme font size */
    box-shadow: none !important;
}

/* Red envelope icon inside the button */
.smb-trigger-btn-9266134c svg {
    width: 20px !important;
    height: 20px !important;
    fill: #F8002F !important;
    transition: fill 0.3s ease !important;
}

/* Hover State */
.smb-trigger-btn-9266134c:hover {
    color: #000C14 !important; /* Dark blue text */
    background-color: transparent !important; /* Ensure it stays transparent on hover */
    background: transparent !important;
}

.smb-trigger-btn-9266134c:hover svg {
    fill: #000C14 !important; /* Dark blue icon */
}


/* Existing Inner Navigation Buttons (e.g. Okay, Send Invite Now inside popup) */
.smb-nav-btn-9266134c {
    display: inline-block;
    background-color: #F8002F;
    color: #ffffff !important;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: inherit;
}
.smb-nav-btn-9266134c:hover {
    background-color: #000C14;
    color: #ffffff !important;
}
.smb-full-width-btn-9266134c {
    width: 100%;
}

/* Popup Overlay */
.smb-popup-overlay-9266134c {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 12, 20, 0.85);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
body.admin-bar .smb-popup-overlay-9266134c {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .smb-popup-overlay-9266134c {
        top: 46px;
        height: calc(100% - 46px);
    }
}

/* Popup Content Container */
.smb-popup-content-9266134c {
    background: #ffffff;
    width: 95%;
    max-width: 1200px;
    height: 90%;
    max-height: 800px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

/* Close Button */
.smb-popup-close-9266134c {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #eee;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}
.smb-popup-close-9266134c:hover {
    background: #F8002F;
    color: #fff;
}

/* Full Page Container */
.smb-full-page-container-9266134c {
    background: #ffffff;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}


/* Grid Layout for Form and Preview */
.smb-popup-grid-9266134c {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    flex: 1;
    min-height: 0;
}
@media(max-width: 900px) {
    .smb-popup-grid-9266134c {
        grid-template-columns: 1fr;
        overflow-y: auto;
    }
}

/* Form Column */
.smb-popup-form-col-9266134c {
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
    padding-right: 10px;
}
.smb-form-group-9266134c {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.smb-form-group-9266134c label {
    font-weight: bold;
    color: #000C14;
    font-size: 14px;
}
.smb-form-group-9266134c label small {
    color: #666;
    font-weight: normal;
}
.smb-form-group-9266134c input[type="email"],
.smb-form-group-9266134c input[type="text"],
.smb-form-group-9266134c textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}
.smb-form-group-9266134c input:focus,
.smb-form-group-9266134c textarea:focus {
    border-color: #F8002F;
    outline: none;
    box-shadow: 0 0 0 2px rgba(248, 0, 47, 0.2);
}

/* Preview Column */
.smb-popup-preview-col-9266134c {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}
.smb-email-preview-wrap-9266134c {
    flex: 1;
    overflow-y: auto;
    background: #fff;
    border: 1px dashed #cbd5e1;
    padding: 10px;
    border-radius: 6px;
}

/* Alerts Modal (Z-index above popup) */
.smb-alert-overlay-9266134c {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.smb-alert-content-9266134c {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.smb-alert-content-9266134c p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

/* Logs Table Styles */
.smb-log-container-9266134c {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 20px 0;
}
.smb-log-search-9266134c {
    width: 100%;
    max-width: 300px;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.smb-log-table-9266134c {
    width: 100%;
    border-collapse: collapse;
}
.smb-log-table-9266134c th, 
.smb-log-table-9266134c td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.smb-log-table-9266134c th {
    background: #000C14;
    color: #fff;
    font-weight: bold;
}
.smb-log-table-9266134c tr:hover td {
    background: #f8fafc;
}
