:root {
    --malp-theme-color: #007bff; /* Default WordPress primary color. Change this to match your theme's primary color. */
    --malp-theme-color-dark: #0069da;
}


.malp-app-tabs {
 
    width: 100%;
}

.malp-tab-nav {
    display: flex;
    width: 100%;
    background-color: #ffffff; /* Slightly darker grey for the tab bar background */
    overflow: hidden;
    gap: 5px; 
    padding-left: 5px;
    padding-right: 5px;;
}

.malp-tab-button {
    flex: 1;
    background-color: #cccccc; /* Inactive tab background: Gray */
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px 10px;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 600;
    color: #333333; /* Inactive tab text color: Darker grey */
    text-align: center;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
   
}

.malp-tab-button:hover {
    background-color: #b3b3b3; /* Slightly darker gray on hover */
    color: #000000;
}

.malp-tab-button.active {
    color: #ffffff; /* White text for active tab */
    background-color: var(--malp-theme-color); /* Active tab background: Theme color (blue by default) */

}

.malp-tab-pane {
    display: none;
    padding: 10px;
  
}

.malp-tab-pane.active {
    display: block;
}

.malp-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}

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

/* Specific rule to remove border from pinned apps in Latest Apps tab */
#latest-apps .malp-app-item.malp-pinned {
    border: none !important;
    box-shadow: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .malp-tab-button {
        font-size: 15px; /* Slightly smaller font for better fit on tablets/smaller desktops */
        padding: 10px 12px; /* Reduced padding */
         border-radius: 4px; 
    }
    .malp-tab-nav {
       gap: 5px; 
  
    padding-left: 20px;
    padding-right: 20px;;
    }
}

@media (max-width: 480px) {
    .malp-tab-button {
        font-size: 13px; /* Even smaller font for mobile */
        padding: 8px 10px; /* Further reduced padding */
    }
    .malp-tab-nav {
       gap: 5px; 
    padding-left: 20px;
    padding-right: 20px;;
    }
}