.wp-email-gate-body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wp-email-gate-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.wp-email-gate-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.wp-email-gate-form h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.wp-email-gate-form p {
    margin: 0 0 30px 0;
    color: #666;
    line-height: 1.5;
}

.wp-email-gate-form input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.wp-email-gate-form input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
}

.wp-email-gate-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-email-gate-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.wp-email-gate-form button:active {
    transform: translateY(0);
}

.message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

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

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

/* Loading state */
.wp-email-gate-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wp-email-gate-form button.loading:after {
    content: '';
    width: 16px;
    height: 16px;
    margin: 0 0 0 10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .wp-email-gate-container {
        padding: 15px;
    }
    
    .wp-email-gate-form {
        padding: 30px 20px;
    }
    
    .wp-email-gate-form h2 {
        font-size: 20px;
    }
}