/**
 * Navbar Action Buttons
 * Styles for the import and record buttons in the navbar
 */

/* ==================== */
/* Base Button Styles   */
/* ==================== */
.navbar-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.25rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    white-space: nowrap;
}

.navbar-action-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.navbar-action-btn:focus {
    outline: none;
}

.navbar-action-btn:focus-visible {
    outline: 3px solid rgba(var(--bs-primary-rgb), 0.4);
    outline-offset: 2px;
}

/* ==================== */
/* Soft/Neutral Button  */
/* ==================== */
.navbar-action-btn--soft {
    color: var(--bs-body-color);
    background-color: rgba(var(--bs-secondary-rgb), 0.1);
}

.navbar-action-btn--soft:hover {
    background-color: rgba(var(--bs-secondary-rgb), 0.15);
    color: var(--bs-body-color);
}

.navbar-action-btn--soft:active {
    background-color: rgba(var(--bs-secondary-rgb), 0.2);
}

/* ==================== */
/* Google Meet Button   */
/* ==================== */
.navbar-action-btn--meet {
    color: #1a73e8;
    background-color: rgba(26, 115, 232, 0.08);
    border: 1px solid rgba(26, 115, 232, 0.2);
}

.navbar-action-btn--meet:hover {
    background-color: rgba(26, 115, 232, 0.14);
    color: #1a73e8;
    border-color: rgba(26, 115, 232, 0.35);
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.15);
}

.navbar-action-btn--meet:active {
    background-color: rgba(26, 115, 232, 0.2);
}

.navbar-meet-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* ==================== */
/* Primary Button       */
/* ==================== */
.navbar-action-btn--primary {
    color: #fff;
    background-color: var(--bs-primary);
}

.navbar-action-btn--primary:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.9);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}

.navbar-action-btn--primary:active {
    background-color: rgba(var(--bs-primary-rgb), 0.85);
    transform: translateY(0);
}

/* ==================== */
/* Button Container     */
/* ==================== */
.navbar-action-buttons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==================== */
/* Dark Mode Support    */
/* ==================== */
.dark-style .navbar-action-btn--soft {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.87);
}

.dark-style .navbar-action-btn--soft:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.dark-style .navbar-action-btn--soft:active {
    background-color: rgba(255, 255, 255, 0.16);
}

.dark-style .navbar-action-btn--meet {
    background-color: rgba(26, 115, 232, 0.12);
    color: #8ab4f8;
    border-color: rgba(138, 180, 248, 0.2);
}

.dark-style .navbar-action-btn--meet:hover {
    background-color: rgba(26, 115, 232, 0.2);
    color: #8ab4f8;
    border-color: rgba(138, 180, 248, 0.35);
}

.dark-style .navbar-action-btn--meet:active {
    background-color: rgba(26, 115, 232, 0.28);
}

/* ==================== */
/* Responsive           */
/* ==================== */
@media (max-width: 576px) {
    .navbar-action-btn {
        padding: 0 0.5rem;
    }
    
    .navbar-action-btn .btn-text {
        display: none;
    }
    
    .navbar-action-btn svg {
        margin: 0 !important;
    }
}
