/* Main Container */
.lead-extractor-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

/* Header */
.lead-extractor-container h2 {
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    color: #1d2327;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lead-extractor-container h2 .dashicons {
    color: #385898; /* Facebook blue */
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1d2327;
    font-size: 0.95rem;
}

/* Input Fields */
.form-group select,
.form-group input[type="number"],
.form-group input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    color: #2c3338;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group input[type="number"]:focus,
.form-group input[type="text"]:focus {
    border-color: #385898;
    outline: none;
    box-shadow: 0 0 0 1px #385898;
}

/* Radio Button Groups */
.platform-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.platform-option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-option:hover {
    background: #f0f0f0;
}

.platform-option input {
    margin-right: 0.75rem;
}

.platform-option .platform-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
}

/* Progress Bar */
.progress-container {
    margin: 1.5rem 0;
    display: none;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #385898, #4a90e2);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.85rem;
    color: #646970;
}

/* Buttons */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.button-primary {
    background: #385898; /* Facebook blue */
    color: #fff;
}

.button-primary:hover {
    background: #2d4678;
}

.button-danger {
    background: #e0245e; /* Twitter pink */
    color: #fff;
}

.button-danger:hover {
    background: #b91d4b;
}

.button-success {
    background: #25D366; /* WhatsApp green */
    color: #fff;
}

.button-success:hover {
    background: #1da851;
}

.button-secondary {
    background: #555d66;
    color: #fff;
}

.button-secondary:hover {
    background: #40464d;
}

/* Notices */
.notice {
    padding: 0.75rem 1rem;
    margin: 1rem 0 0;
    border-left: 4px solid #72aee6;
    border-radius: 2px;
    background: #f0f6fc;
    font-size: 0.9rem;
}

.notice.notice-info {
    border-left-color: #72aee6;
    background: #f0f6fc;
}

.notice.notice-success {
    border-left-color: #4ab866;
    background: #edfaef;
}

.notice.notice-warning {
    border-left-color: #ffb900;
    background: #fff8e5;
}

.notice.notice-error {
    border-left-color: #d63638;
    background: #fcf0f1;
}

/* Platform Specific Colors */
.linkedin-option {
    border-left: 3px solid #0077b5;
}

.facebook-option {
    border-left: 3px solid #385898;
}

.instagram-option {
    border-left: 3px solid #e1306c;
}

.twitter-option {
    border-left: 3px solid #1da1f2;
}

/* Responsive Adjustments */
@media (max-width: 782px) {
    .lead-extractor-container {
        padding: 1.5rem;
    }
    
    .platform-selection {
        grid-template-columns: 1fr;
    }
}