/* Contenedor principal que centra la tarjeta */
.vcard-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f7f9fc; /* Fondo claro de la página */
    padding: 20px;
    font-family: 'Roboto', sans-serif; /* Un font moderno */
}

/* La tarjeta física */
.vcard-card {
    background: #fff;
    width: 380px; /* Ancho de una tarjeta típica */
    max-width: 100%;
    border-radius: 25px; /* Bordes redondeados sutiles */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Sombra suave */
    overflow: hidden; /* Para que el footer no se salga */
    text-align: center;
    border: 1px solid #e1e8ed;
}

/* Cabecera: Foto, Nombre y Cargo */
.vcard-header {
    background-color: #fff; /* O un color muy claro */
    padding: 30px 20px 20px;
}

.vcard-photo, .vcard-photo-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.vcard-photo-placeholder {
    background-color: #ddd;
    color: #888;
    font-size: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.vcard-name {
    font-size: 26px;
    font-weight: 700;
    color: #1c1f24;
    margin: 0 0 5px 0;
}

.vcard-position {
    font-size: 16px;
    font-weight: 500;
    color: #728096;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contenido: Lista de contacto */
.vcard-content {
    padding: 0 25px 20px;
    text-align: left;
}

.vcard-contact-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.vcard-contact-item:last-child {
    border-bottom: none;
}

.vcard-icon {
    width: 20px;
    font-size: 18px;
    margin-right: 15px;
    text-align: center;
}

/* Colores específicos de iconos */
.vcard-mail .vcard-icon { color: #f4b400; } /* Amarillo */
.vcard-linkedin .vcard-icon { color: #0077b5; } /* Azul LinkedIn */
.vcard-instagram .vcard-icon { color: #c32aa3; } /* Rosa/Lila */
.vcard-whatsapp .vcard-icon { color: #25d366; } /* Verde WhatsApp */

.vcard-label {
    flex: 1; /* Ocupa el espacio disponible */
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.vcard-value {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vcard-value:hover {
    color: #1a73e8; /* Color de link sutil */
    text-decoration: underline;
}

/* Footer con el botón de agendar */
.vcard-footer {
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #edf2f7;
}

.vcard-add-to-phone {
    display: block;
    width: 100%;
    background-color: #3b82f6; /* Azul botón */
    color: #fff;
    text-align: center;
    padding: 18px 0;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.vcard-add-to-phone:hover {
    background-color: #2563eb; /* Un azul más oscuro */
}

/* Responsividad básica */
@media (max-width: 420px) {
    .vcard-card {
        width: 100%;
    }
}