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

body {
    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;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    padding: 40px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    color: #667eea;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.header p {
    color: #64748b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    color: #334155;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

input[type="text"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23334155' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #667eea;
}

.radio-option label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

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

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

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Map Styles */
#mapContainer {
    margin-bottom: 15px;
}

#map {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    margin-bottom: 10px;
}

#mapInfo {
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    font-size: 14px;
    color: #64748b;
}

#mapInfo.has-location {
    border-color: #667eea;
    background: #f0f4ff;
}

.location-text {
    color: #334155;
    font-weight: 500;
    margin-top: 5px;
}

/* Flash Messages */
.flash {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.flash.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }

    .container {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .header h1 {
        font-size: 26px;
    }

    .header p {
        font-size: 13px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    label {
        font-size: 13px;
    }

    input[type="text"],
    input[type="tel"],
    select,
    textarea {
        padding: 10px 14px;
        font-size: 14px;
    }

    .radio-group {
        gap: 15px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    #map {
        height: 250px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
        padding-top: 15px;
    }

    .container {
        padding: 25px 16px;
        border-radius: 12px;
    }

    .header {
        margin-bottom: 25px;
    }

    .header h1 {
        font-size: 24px;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    textarea {
        min-height: 80px;
    }
    
    #map {
        height: 200px;
    }
}