/* Email Whitelist - Frontend Form Styles */

.ewl-form-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ewl-form .ewl-field {
    margin-bottom: 20px;
}

.ewl-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    color: #1d2327;
}

.ewl-form .required {
    color: #d63638;
}

.ewl-form input[type="text"],
.ewl-form input[type="email"],
.ewl-form input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.ewl-form input[type="text"]:focus,
.ewl-form input[type="email"]:focus,
.ewl-form input[type="password"]:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.ewl-form small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #646970;
}

.ewl-form .ewl-field-inline label {
    display: inline;
    font-weight: 400;
    cursor: pointer;
}

.ewl-form .ewl-field-inline input[type="checkbox"] {
    margin-right: 4px;
}

.ewl-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 24px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ewl-btn:hover {
    background: #135e96;
}

.ewl-errors {
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.ewl-errors p {
    margin: 4px 0;
    color: #8c1b1f;
    font-size: 14px;
}

.ewl-success {
    background: #edfaef;
    border-left: 4px solid #00a32a;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 2px;
}

.ewl-success p {
    margin: 4px 0;
    color: #155724;
    font-size: 14px;
}

.ewl-success a {
    color: #2271b1;
    font-weight: 600;
}

.ewl-form-link {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #646970;
}

.ewl-form-link a {
    color: #2271b1;
    text-decoration: none;
}

.ewl-form-link a:hover {
    text-decoration: underline;
}

.ewl-message {
    text-align: center;
    font-size: 15px;
    color: #1d2327;
}

.ewl-message a {
    color: #2271b1;
}

/* Account page */
.ewl-account-wrap {
    max-width: 520px;
}

.ewl-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    margin: 28px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.ewl-section-title:first-of-type {
    margin-top: 0;
}

.ewl-form + .ewl-section-title {
    margin-top: 32px;
}

.ewl-form input[type="email"]:disabled {
    background: #f0f0f1;
    color: #646970;
    cursor: not-allowed;
}
