﻿/* Menu Row Layout */
.menu-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

/* Menu Item Wrapper */
.menu-item-wrapper {
    flex: 0 0 200px;
}

.menu-item-explanation {
    width: 200px;
    height: 40px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
/* Menu Item Button */
.menu-item-btn {
    width: 200px;
    height: 165px;
    background: white;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .menu-item-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    }

.animateSlide {
    position: relative;
    overflow: hidden;
}

    .animateSlide::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 160%;
        height: 0;
        background: rgba(255, 255, 255, 0.5);
        transform: translate(-50%, -50%) rotate(-45deg);
        backface-visibility: hidden;
        z-index: 0;
        transition: height 0.4s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    }

    .animateSlide:hover::before {
        height: 300%;
    }

.menu-item-text {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

/* Explanation Wrapper */
.explanation-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.explanation-text {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
    height: 165px;
    border-bottom: 1px solid #e0e0e0;
}

/* Info Button */
.info-btn {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #008093;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .info-btn:hover {
        background-color: #138496;
        transform: scale(1.1);
    }

    .info-btn i {
        font-size: 1.5rem;
    }

/* Sub Items Wrapper */
.sub-items-wrapper {
    display: none;
    gap: 15px;
    padding: 10px;
    position: relative;
}

.sub-item {
    width: 200px;
    height: 165px;
    background: white;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .sub-item:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    }
/*
    .sub-item .iconify {
        margin-bottom: 10px;
    }*/

.sub-item-text {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
}

/* Side Panel */
.side-panel {
    position: fixed;
    top: 0;
    right: -600px;
    width: 600px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
}

    .side-panel.active {
        right: 0;
    }

.side-panel-header {
    padding: 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

    .side-panel-header h4 {
        margin: 0;
        font-size: 1.25rem;
        color: #333;
    }
.side-panel-body {
    padding: 20px;
}

    .side-panel-body p {
        color: #555;
        line-height: 1.6;
        font-size: 0.95rem;
    }
.side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
}
@media (max-width: 768px) {
    .menu-row {
        flex-direction: column;
        gap: 10px;
    }

    .menu-item-wrapper {
        flex: 0 0 auto;
        width: 100%;
    }

    .explanation-wrapper,
    .sub-items-wrapper {
        width: 100%;
    }

    .sub-items-wrapper {
        flex-direction: column;
    }

    .side-panel {
        width: 100%;
        right: -100%;
    }
    .explanation-text {
        flex: 1;
        color: #333;
        font-size: 0.95rem;
        line-height: 1.5;
        border-bottom: 1px solid #e0e0e0;
        height: 100%;
    }
}
.footer {
    background-color: #f8f9fa;
}
.step-header {
    gap: 10px;
}
.step-icon-number {
    color: #00008f; /* Bootstrap primary */
}
.step-icon {
    color: #00008f;
    opacity: 0.9;
}
.step-text {
    font-size: 1rem;
}
@media (max-width: 576px) {
    .step-icon-number {
        width: 30px !important;
    }

    .step-icon {
        width: 22px !important;
    }
}
