body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(to bottom, #f4f4f4, #e9e4dc);
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    text-align: center;
}

header {
    padding: 50px 25px 20px;
}

header h1 {
    color: #1f4e6b;
    letter-spacing: 2.5px;
    font-size: 45px;
    margin: 0;
}

header h1 span {
    font-weight: normal;
}

header p {
    color: #666;
    font-size: 20px;
    margin-top: 10px;
}

header h1::after {
    content: "";
    width: 75px;
    height: 4px;
    background-color: orange;
    display: block;
    margin: 15px auto 0;
}

header hr {
    display: none;
}

nav {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    margin: 0 auto 35px auto;
    width: max-content;
    border: 3px solid #0e3d5a;
    border-radius: 15px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    margin: 0 18px;
    padding-bottom: 6px;
    display: inline-block;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #1f4e6b;
    border-bottom: 3px solid #1f4e6b;
}

nav a.active {
    font-weight: bold;
    color: #1f4e6b;
    border-bottom: 3px solid orange;
}

.formulario {
    width: 500px;
    margin: 25px auto 50px auto;
    background-color: white;
    padding: 45px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.formulario h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 28px;
}

.formulario h3::after {
    content: "";
    width: 55px;
    height: 3px;
    background-color: orange;
    display: block;
    margin: 10px auto 0;
}

label,
.form-title {
    display: block;
    margin-top: 18px;
    font-size: 18px;
    color: #555;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    background-color: #f7f7f7;
    font-size: 20px;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

textarea {
    resize: none;
    height: 150px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #1f6f8b;
    background-color: white;
    outline: none;
}

.opciones {
    margin-top: 18px;
    font-size: 18px;
}

.opciones input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    transform: scale(1.5);
}

.opciones a {
    float: right;
    text-decoration: none;
    color: #1f6f8b;
}

.opciones a:hover {
    text-decoration: underline;
}

.opciones::after {
    content: "";
    display: block;
    clear: both;
}

button {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: #0e3d5a;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

button:hover {
    background: #145a7a;
}

footer {
    font-size: 18px;
    color: #888;
    margin-top: 40px;
    padding-bottom: 40px;
}

.titulo-recibir {
    color: #1f4e6b;
    font-family: 'Georgia', serif; /* Usamos fuente con serifas como en la imagen */
    font-size: 35px;
    margin-bottom: 30px;
    font-weight: bold;
}

.tarjeta-recibir {
    width: 650px; /* Un poco más ancha que tu formulario (500px) */
    margin: 0 auto 40px auto;
    background-color: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.1); /* Misma sombra que tu formulario */
    display: flex;
    align-items: flex-start;
    gap: 30px;
    text-align: left;
}

/* --- Lado del Remitente --- */
.remitente-info {
    width: 140px;
    flex-shrink: 0;
    text-align: center;
    background-color: #fbf9f6; /* Un fondito crema muy suave */
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #efe8df;
}

.marco-foto {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
    border-radius: 12px; /* Bordes redondeados pero sin ser un círculo perfecto */
    overflow: hidden;
}

.marco-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto-remitente {
    font-size: 13px;
    color: #444;
    margin: 0;
    line-height: 1.3;
}

.texto-remitente strong {
    color: #1f4e6b;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

/* --- Lado del Mensaje --- */
.mensaje-contenido {
    flex-grow: 1;
}

.comillas {
    font-family: 'Georgia', serif;
    font-size: 70px;
    color: #dcb897; /* Color crema/dorado */
    line-height: 0;
    position: relative;
    top: 30px;
    left: -5px;
}

.texto-mensaje {
    font-size: 19px; /* Tamaño acorde a tus inputs */
    color: #444;
    line-height: 1.6;
    margin-top: 25px;
}

.texto-mensaje strong {
    color: #222;
}

.separador-mensaje {
    border: 0;
    height: 1px;
    background-color: #e6dfcf;
    margin-top: 20px;
}