/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Contenedor principal estilo Google Panel */
.container {
    max-width: 800px;
    width: 100%;
    margin: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.container:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Estilo del título */
h1 {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    color: #202124;
}

/* Estilo de los fieldset */
fieldset {
    border: none;
    margin-bottom: 20px;
    padding: 0;
}

legend {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #5f6368;
}

/* Estilo de los labels e inputs */
label {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    margin-bottom: 20px;
    color: #3c4043;
}

input[type="text"],
input[type="email"],
textarea,
select {
    padding: 12px;
    margin-top: 8px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #4285f4;
    outline: none;
}

textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Roboto', sans-serif;
}

/* Botón de envío estilo Google */
button {
    display: inline-block;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    background-color: #1a73e8;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.2s;
    margin-top: 20px;
    text-align: center;
}

button:hover {
    background-color: #1558b0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

button:disabled {
    background-color: #e8eaed;
    color: #c6c6c6;
    cursor: not-allowed;
    box-shadow: none;
}

/* Responsividad */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    legend {
        font-size: 16px;
    }

    button {
        font-size: 14px;
    }
}

/* Estilo para los mensajes */
p {
    font-size: 14px;
    margin: 10px 0;
}

/* Estilo para centrado en pantallas pequeñas */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
}

