/* Wrapper for grid-section and content-box */
.main-content-wrapper {
    display: flex;
    flex: 0 0 75%;
    flex-direction: column;
    gap: 20px;
}

/* Corporate Account Section Styles */
.corporate-account-display p {
    margin: 5px 0;
}

/* Styling for the Corporate Account Row */
.corporate-account-row {
    display: flex;
    margin-top: 30px;
    gap: 20px;
}

/* 1/4 Width Section (Menu) */
.menu-section {
    flex: 0 0 25%; /* 1/4 width */
    padding: 15px;
}

.menu-section h3 {
    text-align: center;
}

.menu-section ul {
    list-style-type: none;
    padding: 0;
}

.menu-section ul li {
    margin: 10px 0;
}

.menu-section ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* Ensure grid-section and content-box fill their container */
.grid-section, .content-box {
    flex: 1 0 auto; /* Allow them to expand and take up available space */
    width: 100%;
}

.grid-section .grid-heading {
    text-align: center;
    margin-bottom: 20px;
}

/* Grid layout for the 3x2 boxes */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    background-color: #e1e1e1;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Optional: Add hover effect for grid items */
.grid-item:hover {
    background-color: #d1d1d1;
    transform: translateY(-5px);
    transition: all 0.3s ease-in-out;
}

/* Content Section (Initially Hidden) */
.content-box {
    display: none; /* Hide all content boxes initially */
    padding: 20px;
    border: 1px solid #ddd;
    margin-top: 20px;
}

/* Show Content Box (Replace Grid) */
#grid-section {
    display: block; /* Default state: Show grid section */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .corporate-account-row {
        flex-direction: column;
    }

    .menu-section, .grid-section {
        flex: 0 0 100%;
    }

    .grid-container {
        grid-template-columns: 1fr 1fr; /* Two columns for smaller screens */
    }
}


#edit-info-link {
    color: #0073aa; /* Change color as needed */
    cursor: pointer;
    text-decoration: underline;
}

#edit-info-form {
    margin-top: 15px; /* Add spacing if needed */
}
