/* Visittkort styles */
@import url('https://fonts.googleapis.com/css2?family=Sora&display=swap');
.tirna-visittkort {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    font-family: 'Sora', Arial, sans-serif !important;
    color: #333;
    text-align: center;
}

.visittkort-image {
    width: 120px;
    height: 120px;
    margin: 15px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    padding-bottom: 20px;
    /* border: 2px solid #eee; */
}

.visittkort-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.visittkort-info {
    margin-bottom: 20px;
}

.visittkort-name {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: #333;
}

.visittkort-position {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
}

.visittkort-contact {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.visittkort-email,
.visittkort-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.visittkort-email i,
.visittkort-phone i {
    margin-right: 10px;
    color: #666;
    width: 16px;
    text-align: center;
}

.visittkort-email a,
.visittkort-phone a {
    color: #333;
    text-decoration: none;
}

.visittkort-email a:hover,
.visittkort-phone a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.visittkort-footer {
    padding-top: 5px;
    text-align: center;
}

.visittkort-qr {
    margin-bottom: 15px;
}

.visittkort-qr img {
    border: 1px solid #eee;
    padding: 5px;
    background-color: #fff;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.visittkort-logo {
    margin-top: 10px;
    margin-bottom: 15px;
}

.visittkort-logo img {
    max-height: 40px;
    max-width: 150px;
    display: block;
    margin: 0 auto;
}

/* Loading indikator */
.loading {
    text-align: center;
    padding: 20px;
    font-family: 'Sora', Arial, sans-serif !important;
    color: #666;
}

.loading:before {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #393B52;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error melding */
.error {
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    color: #b71c1c;
    padding: 15px;
    margin: 10px 0;
    border-radius: 4px;
    font-family: 'Sora', Arial, sans-serif !important;
    font-size: 14px;
    text-align: center;
} 