/**
 * Public CSS for Outreach Control
 */

.outreach-import-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.outreach-public-form .outreach-form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 15px;
}

.outreach-public-form .outreach-form-group {
    flex: 1;
    padding: 0 10px;
    min-width: 250px;
}

.outreach-public-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.outreach-public-form label .required {
    color: #d63638;
}

.outreach-public-form input[type="text"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.outreach-public-form input[type="text"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

.outreach-form-submit {
    margin-top: 20px;
}

.outreach-submit-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
}

.outreach-submit-btn:hover {
    background: #135e96;
}

.outreach-submit-btn:disabled {
    background: #a7aaad;
    cursor: not-allowed;
}

.outreach-form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.outreach-form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.outreach-form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loader */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}