/* task12.css - Standalone Form Styles */

body { display: flex; justify-content: center; padding: 50px; background: #fdfdfd; font-family: sans-serif; }

.contact-form {
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-group label {
    flex: 1; /* Label takes 1 part space */
    font-weight: bold;
}

.form-group input, .form-group textarea {
    flex: 2; /* Input takes 2 parts space */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Mobile: Stack them */
@media (max-width: 480px) {
    .form-group { flex-direction: column; align-items: flex-start; }
    .form-group label { margin-bottom: 5px; }
    .form-group input { width: 100%; }
}

button {
    width: 100%;
    padding: 15px;
    background: #1b4d3e;
    color: white;
    border: none;
    font-weight: bold;
    cursor: pointer;
}