/* Google Forms-inspired Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background: whitesmoke;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    max-width: 760px;
    margin: 0 auto;
}

/* Job Header Card */
.job-header {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 12px;
    border-top: 10px solid #673ab7;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.job-header h1 {
    font-size: 32px;
    font-weight: 400;
    color: #202124;
    margin-bottom: 8px;
}

.job-header p {
    font-size: 14px;
    color: #5f6368;
    margin: 0;
}

/* Form Container */
#application-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Form Field Card */
.form-field {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: box-shadow 0.2s ease;
}

.form-field:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
}

.form-field label {
    display: block;
    font-size: 16px;
    color: #202124;
    font-weight: 400;
    margin-bottom: 8px;
}

.required {
    color: #d93025;
    margin-left: 4px;
}

/* Input Styles */
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #202124;
    border: none;
    border-bottom: 1px solid #dadce0;
    background: transparent;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="url"]:focus,
.form-field textarea:focus {
    border-bottom: 2px solid #673ab7;
    padding-bottom: 11px;
}

.form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.form-field small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #5f6368;
}

/* File Upload */
.form-field input[type="file"] {
    width: 100%;
    padding: 12px 0;
    font-size: 14px;
    color: #202124;
    cursor: pointer;
}

.form-field input[type="file"]::file-selector-button {
    background: #673ab7;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-right: 16px;
    transition: background 0.2s ease;
}

.form-field input[type="file"]::file-selector-button:hover {
    background: #5e35b1;
}

/* Submit Button */
.submit-btn {
    background: #673ab7;
    color: white;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 12px;
    align-self: flex-start;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.submit-btn:hover {
    background: #5e35b1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
}

.submit-btn:disabled {
    background: #dadce0;
    color: #5f6368;
    cursor: not-allowed;
    box-shadow: none;
}

/* Error Message */
.error-message {
    background: white;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    color: #d93025;
    font-size: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 20px 12px;
    }
    
    .job-header {
        padding: 24px;
    }
    
    .job-header h1 {
        font-size: 24px;
    }
    
    .form-field {
        padding: 20px;
    }
    
    .submit-btn {
        width: 100%;
    }
}
