.tab-bar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.tab-bar-group {
    display: flex;
    gap: 8px;
}

.tab-bar-action-btn {
    background: #33a18e;
    color: #fff;
    border: none;
    position: relative;
    border-radius: 8px;
    padding: 6px 18px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(100, 100, 150, 0.12);
    transition: background 0.2s;
}

.tab-bar-action-btn:hover {
    background: #278a74;
}

.tab-bar-center {
    display: flex;
    justify-content: center;
    width: 100%
}

.tab {
    padding: 10px 20px;
    color: white;
    background-color: #444;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.tab:hover {
    background-color: #555;
}

.tab.active {
    background-color: white;
    color: #333;
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(25, 25, 25, 0.7);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-text {
    margin-top: 16px;
    font-size: 1.2rem;
    color: #333;
}


.file-upload-wrap {
    position: relative;
    overflow: hidden;
    display: inline-block;
    /* Crucial: ensures the container is sized correctly */
}

.file-upload-wrap input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    /* CRUCIAL for iOS security compliance: 
       Make it invisible but still receive clicks */
    opacity: 0;
    cursor: pointer;
    /* Ensure the input is always on top */
    z-index: 10;
}

.custom-style-button {
    /* Apply any Bootstrap or custom styles here */
    padding: 10px 20px;
    background-color: #28a745;
    /* Example custom color */
    color: white;
    border-radius: 5px;
    border: none;
}

.bg-amaxst {
    background-color: #14182a !important;
}

.slide-up-panel-curr {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    min-width: 300px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(.68, -0.55, .27, 1.55), opacity 0.5s, bottom 0.5s cubic-bezier(.68, -0.55, .27, 1.55);
    z-index: 1050;
    padding: 2rem;
}

.slide-up-panel-curr.show {
    transform: translate(-50%, 0);
    bottom: 0;
    opacity: 1;
}

.slide-up-panel {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    min-width: 300px;
    max-width: 90vw;
    background: #fff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(.68, -0.55, .27, 1.55), opacity 0.5s, bottom 0.5s cubic-bezier(.68, -0.55, .27, 1.55);
    z-index: 1050;
    padding: 2rem;
}

.slide-up-panel.show {
    transform: translate(-50%, 0);
    bottom: 0;
    opacity: 1;
}

.slide-panel {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: white;
    width: 450px;
    /* adjust as needed */
    z-index: 1050;
    /* make sure it's above other content */
    transition: transform 0.5s ease;
    transform: translateX(-100%);
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
}

/* When showPanel is true, slide it to visible */
.slide-panel.show {
    transform: translateX(0);
}

.vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
    background: #e0f7fa;
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #009688;
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #00796b;
}