/* Main background */
body.o_home_dashboard,
#wrapwrap.o_home_dashboard,
.o_home_menu_background {
    background: linear-gradient(rgb(0 0 0 / 83%), rgb(0 0 0 / 83%)),
        url('/dine360_dashboard/static/src/img/dashboard_bg.png') no-repeat center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif !important;
    position: relative !important;
}

#wrapwrap.o_home_dashboard #wrap {
    background: transparent !important;
}

.o_apps {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px 50px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.o_app {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    width: 120px !important;
}

.o_app_icon_container {
    background: #ffffff !important;
    width: 90px !important;
    height: 90px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 24px !important;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 12px !important;
    position: relative !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    transition: all 0.4s ease !important;
}

.o_app:hover .o_app_icon_container {
    transform: translateY(-10px) rotate(2deg) !important;
    background: #ffffff !important;
    border-bottom: 2px solid #e50000 !important;
    box-shadow:
        0 20px 25px -5px rgba(229, 0, 0, 0.2),
        0 10px 10px -5px rgba(23, 20, 34, 0.1) !important;
}

.o_app_icon_container::before {
    content: "";
    --pos-accent-red: #e50000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(175 36 36 / 62%) 0%, rgb(181 84 84 / 20%) 50%);
    z-index: 1;
}

.o_app_icon {
    width: 56px !important;
    height: 56px !important;
    object-fit: contain !important;
    z-index: 2;
    transition: transform 0.3s ease !important;
}

.o_app:hover .o_app_icon {
    transform: scale(1.1) !important;
}

.o_app_name {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: center !important;
    letter-spacing: -0.2px !important;
    transition: color 0.3s ease !important;
}

.o_app:hover .o_app_name {
    color: #e50000 !important;
    font-weight: 700 !important;
}

.o_home_top_bar {
    position: fixed !important;
    top: 25px !important;
    left: 0;
    right: 0;
    display: flex !important;
    justify-content: center !important;
    z-index: 1000 !important;
}

.o_top_bar_island {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 25px !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px);
    border-radius: 50px !important;
    border-color: #e50000 !important;
    box-shadow: 0 0 0 3px rgba(229, 0, 0, 0.15) !important;
    box-shadow: 0 12px 25px rgba(229, 0, 0, 0.3) !important;
}

.o_top_item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
}

.o_top_item:hover {
    color: #e50000 !important;
    transform: translateY(-3px);
}

.o_bar_divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
}

.o_ai_icon {
    font-weight: 800;
    color: #e50000 !important;
}

.badge_dot {
    position: absolute !important;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #e50000 !important;
    border-radius: 50% !important;
    border: 2px solid white !important;
}

.o_user_avatar {
    width: 35px !important;
    height: 35px !important;
    border-radius: 12px !important;
    background: #e50000 !important;
    color: white !important;
    font-weight: bold !important;
}