.container.webform {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    width: 100%;
    max-width: 500px;
}

.webform h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 24px;
}

.webform .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.webform .registration-form {
    display: flex;
    flex-direction: column;
}

.webform .form-group {
    margin-bottom: 20px;
}

.webform label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
}

.webform input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.webform input:focus {
    outline: none;
    border-color: #667eea;
}

.webform input.error {
    border-color: #e74c3c;
}

.webform .error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    min-height: 15px;
}

.webform .submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.webform .submit-btn:hover {
    transform: translateY(-2px);
}

.webform .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.webform .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.webform .message {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.webform .message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.webform .message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.webform .hidden {
    display: none;
}

@media (max-width: 600px) {
    .container.webform {
        padding: 20px;
        margin: 10px;
    }

    .webform h1 {
        font-size: 20px;
    }
}