/* Main form styles */
.wesc-signup-form {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    max-width: 400px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.wesc-form-header {
    text-align: center;
    margin-bottom: 20px;
}

.wesc-form-header h3 {
    color: #333;
    margin: 0 0 10px 0;
    font-size: 1.4em;
    font-weight: 600;
}

.wesc-form-header p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0;
}

.wesc-form-group {
    margin-bottom: 15px;
}

.wesc-signup-form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.wesc-signup-form input[type="email"]:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.wesc-submit-btn {
    width: 100%;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

.wesc-submit-btn:hover {
    background: #45a049;
}

.wesc-submit-btn:active {
    transform: translateY(1px);
}

.wesc-submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Messages */
.wesc-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.wesc-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wesc-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wesc-message.loading {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Loading animation */
.wesc-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: wesc-spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes wesc-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 480px) {
    .wesc-signup-form {
        padding: 20px;
        margin: 15px;
    }
    
    .wesc-form-header h3 {
        font-size: 1.2em;
    }
    
    .wesc-signup-form input[type="email"],
    .wesc-submit-btn {
        padding: 12px 14px;
        font-size: 15px;
    }
}

/* Footer specific styling (optional) */
footer .wesc-signup-form {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    max-width: none;
    margin: 20px 0;
}

footer .wesc-form-header h3 {
    color: #fff;
}

footer .wesc-form-header p {
    color: rgba(255, 255, 255, 0.8);
}

footer .wesc-signup-form input[type="email"] {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

footer .wesc-signup-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

footer .wesc-submit-btn {
    background: #fff;
    color: #333;
}

footer .wesc-submit-btn:hover {
    background: #f0f0f0;
}