* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f0f0f0;
}

.vcard {
    width: 100%;
    max-width: 400px;
    background: #1b3242;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.profile {
    padding: 24px;
    text-align: center;
}

.profile-image {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    margin: 0 auto 16px;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile h1 {
    font-size: 24px;
    margin-bottom: 16px;
}

.add-contact {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-contact:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tabs {
    display: flex;
    border-top: 1px solid #2d4456;
    border-bottom: 1px solid #2d4456;
}

.tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    color: #8b9caa;
    position: relative;
    background: transparent;
    border: none;
    font-size: 16px;
    border-radius: 8px 8px 0 0;
    margin-top: 4px;  /* Para que el borde redondeado sea más visible */
}

.tab.active {
    color: #333;
    background: white;
    margin-bottom: -1px; /* Para eliminar el espacio entre la pestaña y el contenido */
}

.tab.active::after {
    display: none;
}

.content {
    padding: 24px;
    background: white;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #666;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-details {
    flex-grow: 1;
}

.label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.value {
    color: #2563eb;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
}

.value:hover {
    text-decoration: underline;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}