.employee-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 2rem 0;
    text-align: left !important;
}

.employee__vcard-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: #8C8E9D;
    padding: 5px 0;
    font-size: 14px;
    text-align: left;
    font-family: 'Sora', Arial, sans-serif !important;
    ;
}

.employee__vcard-btn:hover {
    color: #0056b3;
}

.employee__vcard-btn svg path {
    fill: currentColor;
}

.employee-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #393B52 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 99px !important;
    cursor: pointer !important;
    font-family: 'Sora', Arial, sans-serif !important;

    text-decoration: none !important;
    margin: 10px 0 !important;
    transition: background-color 0.2s ease !important;
    width: auto !important;
    min-width: 200px !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 10 !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; */
    justify-content: flex-start !important;
}

.employee-button:hover {
    background-color: #4A4C6A !important;
    color: #fff !important;
    text-decoration: none !important;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important; */
    transform: translateY(-1px) !important;
}

.employee-button:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.employee-button svg {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

.employee-button svg path {
    fill: currentColor !important;
}

.employee-button div {
    color: inherit !important;
    font-size: inherit !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Modal styles */
.employee-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    z-index: 999999 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.employee-modal-content {
    position: relative !important;
    background-color: white !important;
    max-width: 500px !important;
    margin: 40px auto !important;
    padding: 20px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.vcard-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    font-size: 24px !important;
    cursor: pointer !important;
    background: none !important;
    border: none !important;
    color: #666 !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s !important;
}

.vcard-close:hover {
    color: #333 !important;
}

/* Loading and error states */
.loading {
    text-align: center !important;
    padding: 20px !important;
    color: #666 !important;
}

.loading i {
    margin-right: 8px !important;
}

.error {
    text-align: center !important;
    padding: 20px !important;
    color: #dc3545 !important;
}

.error i {
    margin-right: 8px !important;
}

/* Business card styles */
.employee-vcard {
    font-family: 'Sora', Arial, sans-serif !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.employee-vcard > * {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.employee-vcard h2 {
    margin: 0 0 10px !important;
    color: #393B52 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
}

.employee-vcard .position {
    color: #666 !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
}

.employee-vcard .email,
.employee-vcard .phone,
.employee-vcard .linkedin {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}

.employee-vcard .email a,
.employee-vcard .phone a,
.employee-vcard .linkedin a {
    color: #393B52 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.employee-vcard .email a:hover,
.employee-vcard .phone a:hover,
.employee-vcard .linkedin a:hover {
    color: #4A4C6A !important;
    text-decoration: underline !important;
}

.employee-vcard i {
    color: #393B52 !important;
    width: 20px !important;
    text-align: center !important;
}

/* QR code styles */
.qr-code-button {
    background-color: #393B52 !important;
    color: #fff !important;
    border: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    font-family: 'Sora', Arial, sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 20px 0 !important;
    transition: background-color 0.2s ease !important;
}

.qr-code-button:hover {
    background-color: #4A4C6A !important;
}

.qr-code-button i {
    color: #fff !important;
}

.qr-code-preview {
    display: block !important;
    margin-top: 20px !important;
    text-align: center !important;
}

.qr-code-preview img {
    max-width: 200px !important;
    height: auto !important;
    border: 2px solid #393B52 !important;
    border-radius: 4px !important;
    padding: 10px !important;
    background-color: #fff !important;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .employee-modal-content {
        width: 95% !important;
        margin: 10% auto !important;
        padding: 15px !important;
    }
    
    .employee-vcard h2 {
        font-size: 20px !important;
        margin-top: 20px;
    }
    
    .employee-vcard .position {
        font-size: 14px !important;
    }
    
    .qr-code-preview img {
        max-width: 150px !important;
    }
    
    .employee-button {
        width: 100% !important;
        justify-content: center !important;
    }

    .employee .employee-button {
        position: static !important;
        width: 100% !important;
        left: unset !important;
        transform: none !important;
        margin: 10px 0 !important;
        opacity: 1 !important;
    }
}

/* Business card styles */
.tirna-visittkort {
    text-align: center !important;
    padding: 20px !important;
}

.visittkort-name {
    font-size: 24px !important;
    margin: 0 0 8px !important;
    color: #333 !important;
}

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

.visittkort-contact {
    margin: 20px 0 !important;
}

.visittkort-contact > div {
    margin: 8px 0 !important;
}

.visittkort-contact i {
    margin-right: 8px !important;
    color: #393B52 !important;
}

.visittkort-contact a {
    color: #393B52 !important;
    text-decoration: none !important;
}

.visittkort-contact a:hover {
    text-decoration: underline !important;
}

.visittkort-qr {
    margin: 20px 0 !important;
}

.visittkort-qr svg {
    max-width: 200px !important;
    height: auto !important;
}

.visittkort-footer {
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #eee !important;
}

.tirna-logo {
    max-width: 100px !important;
    height: auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vcard-modal-content {
        margin: 10% auto !important;
        width: 95% !important;
        padding: 15px !important;
    }

    .employee-button {
        width: 100% !important;
        justify-content: center !important;
    }

    .visittkort-name {
        font-size: 20px;
    }

    .visittkort-position {
        font-size: 14px;
    }

    .visittkort-email,
    .visittkort-phone {
        font-size: 14px;
    }

    .visittkort-qr {
        margin: 20px auto;
        padding: 10px;
    }

    .visittkort-qr svg {
        max-width: 250px;
    }
}

/* Employee card styles */
.employee-vcard {
    padding: 20px;
}

.employee-vcard h2 {
    margin: 20px 0 10px !important;
    color: #393B52;
    font-size: 24px;
    font-weight: 600;
}

.employee-vcard .position {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.employee-vcard .email,
.employee-vcard .phone,
.employee-vcard .linkedin {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #333;
}

.employee-vcard .email a,
.employee-vcard .phone a,
.employee-vcard .linkedin a {
    color: #393B52;
    text-decoration: none;
    transition: color 0.2s ease;
}

.employee-vcard .email a:hover,
.employee-vcard .phone a:hover,
.employee-vcard .linkedin a:hover {
    color: #4A4C6A;
    text-decoration: underline;
}

.employee-vcard i {
    color: #393B52;
    width: 20px;
    text-align: center;
}

/* QR code styles */
.qr-code-button {
    background-color: #393B52;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Sora', Arial, sans-serif !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    transition: background-color 0.2s ease;
}

.qr-code-button:hover {
    background-color: #4A4C6A;
}

.qr-code-button i {
    color: #fff;
}

.qr-code-preview {
    display: block;
    margin-top: 20px;
    text-align: center;
}

.qr-code-preview img {
    max-width: 200px;
    height: auto;
    border: 2px solid #393B52;
    border-radius: 4px;
    padding: 10px;
    background-color: #fff;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .employee-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .employee-vcard h2 {
        font-size: 20px;
    }
    
    .employee-vcard .position {
        font-size: 14px;
    }
    
    .qr-code-preview img {
        max-width: 150px;
    }
}

/* Employee button styles */
.employee-button {
    background-color: #393B52;
    color: #fff;
    border: none;
    padding: 8px 0px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Sora', Arial, sans-serif !important;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    transition: background-color 0.2s ease;
}

.employee-button:hover {
    background-color: #4A4C6A;
}

.employee-button svg {
    width: 20px;
    height: 20px;
    /* stroke: currentColor; */
}

/* Additional employee button positioning */
.employee {
    position: relative !important;
    padding-bottom: 60px !important;
    margin-bottom: 20px !important;
    text-align: left !important;
}

.employee .employee-button {
    position: absolute !important;
    bottom: 10px !important;
    left: 25% !important;
    transform: translateX(-50%) !important;
    white-space: nowrap !important;
    z-index: 10 !important;
    opacity: 0.9 !important;
    /* transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important; */
}

.employee:hover .employee-button {
    opacity: 1 !important;
}

/* Fallback positioning if absolute doesn't work */
.employee-button-container {
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
}

.qr-svg svg {
    width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.visittkort-image img,
.employee-vcard .visittkort-image img {
    border-radius: 50% !important;
    width: 120px !important;
    height: 120px !important;
    object-fit: cover !important;
    display: block;
    /* margin: 10px auto; */
}

.employees .employee-button {
    display: grid !important;
    grid-template-columns: .2fr 3fr !important;
    align-items: center !important;
    color: var(--wp--preset--color--primary-100) !important;
    background: #ffffff !important;
    border: none !important;
    border-radius: 99px !important;
    padding: 8px 0px !important;
    font-size: 15px !important;
    margin: 10px 0 !important;
    gap: 8px !important;
    text-align: left !important;
    /* box-shadow: 0 2px 4px rgba(0,0,0,0.08) !important; */
    cursor: pointer !important;
    transition: background 0.2s !important;
    width: auto !important;
    justify-content: flex-start !important;
}
@media (max-width: 768px) {
    .employee .employee-button {
      position: static !important;
      width: 100% !important;
      transform: none !important;
      margin-top: 1rem !important;
    }
  }