* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.container {
    max-width: 700px;
    margin: 0 auto;
}
body {
    font-family: Inter, Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
    padding: 20px;
    line-height: 1.5;
}

form {
    background: white;
    max-width: 650px;
    margin: 0 auto;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.7rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #444;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcdfe4;
    border-radius: 10px;
    font-size: 15px;
    transition: .2s ease;
    background: #fff;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

#voiceControls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

button {
    border: none;
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease;
}

button:hover:not(:disabled) {
    transform: translateY(-1px);
}

button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

#startRecord {
    background: #0d6efd;
    color: white;
}

#stopRecord {
    background: #dc3545;
    color: white;
}

button[type="submit"] {
    width: 100%;
    background: #198754;
    color: white;
    margin-top: 10px;
    font-size: 16px;
    padding: 14px;
}

.info-box {
    background: white;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.info-box p {
    margin-bottom: 8px;
}

.info-box p:last-child {
    margin-bottom: 0;
}

#recordStatus {
    display: none;
    color: #dc3545;
    font-weight: 600;
}

#audioPlayback {
    margin-top: 12px;
}

audio {
    width: 100%;
}
.call-btn {
    display: block;
    text-align: center;
    background: #222;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 16px;
    padding: 14px;
}
@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    form {
        padding: 18px;
        border-radius: 12px;
    }

    h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    form {
        padding: 16px;
    }

    h2 {
        font-size: 1.25rem;
    }

    button {
        width: 100%;
    }

    #voiceControls {
        flex-direction: column;
        align-items: stretch;
    }
}
.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
}
.field-error {
    display: block;
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}
