/* Bulk Email Generator Styles */
:root {
    --beg-primary-color: #4a6cf7;
    --beg-secondary-color: #6c757d;
    --beg-success-color: #28a745;
    --beg-danger-color: #dc3545;
    --beg-light-color: #f8f9fa;
    --beg-dark-color: #343a40;
    --beg-border-radius: 4px;
    --beg-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.beg-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--beg-box-shadow);
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.beg-tabs {
    display: flex;
    background: var(--beg-light-color);
    border-bottom: 1px solid #ddd;
}

.beg-tab-button {
    padding: 15px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--beg-secondary-color);
    transition: all 0.3s ease;
}

.beg-tab-button.active {
    color: var(--beg-primary-color);
    border-bottom: 3px solid var(--beg-primary-color);
    background: #fff;
}

.beg-tab-content {
    display: none;
    padding: 30px;
}

.beg-tab-content.active {
    display: block;
}

.beg-form-group {
    margin-bottom: 20px;
}

.beg-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.beg-select, .beg-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--beg-border-radius);
    font-size: 16px;
}

.beg-checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.beg-checkbox-group input {
    margin-right: 10px;
}

.beg-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--beg-border-radius);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.beg-btn-primary {
    background: var(--beg-primary-color);
    color: white;
}

.beg-btn-primary:hover {
    background: #3a5ad9;
}

.beg-btn-success {
    background: var(--beg-success-color);
    color: white;
}

.beg-btn-success:hover {
    background: #218838;
}

.beg-results-container {
    margin-top: 30px;
    border: 1px solid #ddd;
    border-radius: var(--beg-border-radius);
    padding: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.beg-email-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.beg-email-item:last-child {
    border-bottom: none;
}

.beg-export-options {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.beg-verification-results {
    margin-top: 20px;
}

.beg-verified {
    color: var(--beg-success-color);
}

.beg-not-verified {
    color: var(--beg-danger-color);
}

.beg-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.beg-form-row .beg-form-group {
    flex: 1;
}

.beg-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: beg-spin 1s ease-in-out infinite;
}

@keyframes beg-spin {
    to { transform: rotate(360deg); }
}

.beg-notice {
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: var(--beg-border-radius);
}

.beg-notice-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.beg-notice-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive styles */
@media (max-width: 768px) {
    .beg-tabs {
        flex-direction: column;
    }
    
    .beg-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .beg-export-options {
        flex-direction: column;
    }
    
    .beg-tab-content {
        padding: 20px;
    }
}