/* Main actions button (three dots) */
.btn-main-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: var(--primary-color, '#0d6efd');
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
}

.btn-main-actions:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--primary-color, '#0d6efd');
    color: white;
}

/* Container for the vertical stack of circular buttons */
.circular-buttons-stack {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1000;
}

.circular-buttons-stack.show {
    display: flex;
}

/* Circular button style (identical to share/bookmark buttons) */
.circular-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: var(--primary-color, '#0d6efd');
}

.circular-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Different colors for different actions */
.circular-action-btn.share {
    color: #25D366;
}

.circular-action-btn.qr {
    color: #6f42c1;
}

.circular-action-btn.email {
    color: #ea4335;
}

.circular-action-btn.whatsapp {
    color: #25D366;
}

.circular-action-btn.print {
    color: #6c757d;
}

.circular-action-btn.download {
    color: #0d6efd;
}

/* Left side action button container */
.header-action-left {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

/* Right side bookmark button */
.header-action-right {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

/* Bookmark button - EXACT original style */
.btn-bookmark-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #dc3545;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-bookmark-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-bookmark-toggle.bookmarked {
    color: #dc3545;
}

/* Remove overlay completely */
.header-overlay {
    display: none;
}

/* Ensure background image shows clearly */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.vcard-header {
    position: relative;
    overflow: hidden;
}