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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}

.field {
    margin-bottom: 20px;
}

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

digital-signature,
input,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
}

digital-signature:focus-within,
input:focus,
textarea:focus {
    outline: none;
    border-color: #2563eb;
}

textarea {
    resize: vertical;
}

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.btn.small {
    padding: 12px;
}

.btn:hover {
    background: #1d4ed8;
}

.btn[data-status="progress"] {
    background: #4d6380;
}

.btn[data-status="error"] {
    background: #eb3424;
}

.btn[data-status="success"] {
    background: #3cd35a;
}

@media(max-width:768px) {

    .card {
        padding: 25px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

}