body {
    background: linear-gradient(135deg, #F5F5DC, #e8bcf0);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 20px;
}


.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(109, 70, 117, 0.89); 
}

h1, h2, h4 {
    color: #410566;
    font-weight: bold;
}

h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: normal;
}

h3 {
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3a0741;
    padding-bottom: 10px;
    color: #330b02;
}

h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #551304;
    font-size: 15px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d79be2;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #FEF9E7;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.radio-group {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 5px;
}

.radio-group div {
    display: flex;
    align-items: center;
}

.radio-group input {
    width: auto;
    margin-right: 8px;
}

.radio-group label {
    display: inline;
    margin: 0;
    font-weight: normal;
    color: #4E342E;
}
.mascota-form {
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid #270344;
}
textarea {
    resize: vertical;
    min-height: 80px;
    background-color: #FEF9E7;
}

.button-group {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

button {
    padding: 12px 30px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    background-color: #4E342E;
    color: white;
}

button[type="button"] {
    background-color: #380557;
}

button[type="button"]:hover {
    background-color: #470574;
}

p {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: #531507;
}
.btn-atras {
    background-color: #380557;
    border: none;
    color: white;
    border-radius: 20px;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.btn-atras:hover {
    background-color: #470574;
}
.btn-final-registro {
    background-color: #380557;
    border: none;
    color: white;
    border-radius: 20px;
    padding: 12px 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.btn-final-registro:hover {
    background-color: #470574;
}