.aiform-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.aiform-field {
    margin-bottom: 20px;
}

.aiform-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.aiform-field .required {
    color: #e74c3c;
}

.aiform-field input,
.aiform-field select,
.aiform-field textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.aiform-field input:focus,
.aiform-field select:focus,
.aiform-field textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.aiform-field textarea {
    resize: vertical;
    min-height: 120px;
}

.aiform-submit {
    text-align: center;
    margin-top: 30px;
}

.aiform-submit button {
    background: #3498db;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    min-width: 150px;
}

.aiform-submit button:hover {
    background: #2980b9;
}

.aiform-submit button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.aiform-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.aiform-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

@media (max-width: 480px) {
    .aiform-container {
        padding: 10px;
    }
    
    .aiform-field input,
    .aiform-field select,
    .aiform-field textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}